As you can see, I have just torn the IfDirective to bits to get what I
needed. This was mainly due to it being hard to find documentation on
writing directives anywhere but in the code.
Shane
On 10/19/06, Shane Farmer <sha...@gm...> wrote:
>
> Hi All,
>
> I have been looking around for a while loop to no avail. As such I have
> implimented a very basic while loop directive. I am using an older version
> of WM (1.0 or 1.1) and was wondering if it possible to create 2
> subdirectives, break and continue, and if anyone would have some pointers on
> how to go about doing this.
>
> The code is _very_ basic ATM and simply loops while ever the conditional
> arg is true and evaluates [block.write(...)] on the block arg.
>
> Im am all ears for better design startegies for this directive as well.
>
> Thanks in advance
> Shane
>
>
|