1831
HFS ~ HTTP File Server / Re: "Search" button redirects to main page...
« on: December 13, 2007, 01:38:30 AM »
your template has a section [up]
can you copy it into a post?
can you copy it into a post?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Since we don't use macros inside, we don't need extra markers.
when you use {{left|string|count}} , he is replaced in the template by {{ cut| 0|$2|$1}}
and all expressions as $1 $2 are replaced by the value string , count
and the template take the following aspect {{ cut| 0|count|string}}
{{set| shout at | {{\ HEY YOU, {{upper|$1}}! /}} }}
This macro is a real macro for the macro-'language', it must never be evaluated!
using $ both for sections and things defined by "set" may lead to colliding names.
between set macro and set later? no
user created macros aka user created functions. The possibility to write a complex macro and place it in a user created function with custom parameters would be useful.
to call it {{call function | function-name | $A$ | $B$ |...}} A and B are the custom parameters.
to create {{function | function-name | $A$ | $B$ |...}}{{the macros to execute}} A and B define the parameters just like in javascript function (A,B,C){}...
eg {{call function | addition | 1 | 3 | 5}} 9 would be returned.
{{function | addition | $A$ | $B$ | $C$}}{{{{add | $A$ | $B$ | $C$}}}}
or you could even have the commands to execute as the last parameter, so the example above would be
{{function | addition | $A$ | $B$ | $C$ | {{add | $A$ | $B$ | $C$}}}}
Edit: Simple addition and subtraction, etc would be useful. Im working on something now that I must subtract one number from another so i know how many times to repeat itself.
{{ define | left{{#str|#len}} | {{cut | 0 | #len |#str }} }}
my question is now How To write a multi filter file (ex; .wav+.aiff +.text ) on real folders?
recursive listing and folder tar is not always welcome.
but i think need to be editbox where them write they nickname