rejetto forum

Testing build #245

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
download @ www.dovedove.it/hfs/hfs245.exe

what's new
+ new template macros: exists, is file [link]
+ URI support in {.mkdir.} [link]
- {.add folder.} broken in build #244


Offline FRENCH CAN CAN

  • Tireless poster
  • ****
    • Posts: 681
    • View Profile
what's new
- {.add folder.} broken in build #244

Mooolto bene, complimenti! adesso funziona veramente, SOSTITUISCE la cartella realmente, ho usato queste macro:

[special:import]
{.add folder|real|.|.}
{.set item|/Modello|hide=1.|no log=1.|not as download=*.}

Vorrei sapere se rimane in questo modo, vorrei pubblicare sul forum il mio nuovo Template. Ciao, French. ;)

----------------------------------------------------------------------------------------------------

Veeery good, congratulations! Now it really works, replace the folder really, I used these macros:


[special:import]
{.add folder|real|.|.}
{.set item|/Modello|hide=1.|no log=1.|not as download=*.}

Ti wonder if it remains this way, I would like publish on forum my new Template. Hello, French. ;)

(Translated with Google.)


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
error or not error

Quote
function Tfile.getDLcountRecursive():integer;
......
  while assigned(n) do
    begin

    f:=nodeToFile(n);
    if f = NIL then
      if f.isFolder() then inc(result, f.getDLcountRecursive())
      else inc(result, f.FDLcount);
    n:=n.getNextSibling();
    end;

if f is NIL , why testing f.isfolder, he cannot??? NIL.isFolder is impossible, can you explain rejetto? ???


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i wonder if it remains this way, I would like publish on forum my new Template. Hello, French. ;)

yes, i don't see reasons to change ;)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
if f is NIL , why testing f.isfolder, he cannot??? NIL.isFolder is impossible, can you explain rejetto? ???

it's a special technique.
haha, thank you mars, your eyes are often useful.
fixed in next release.