ah! good thinking.

thanks Scott

----- Original Message -----
From: "Scott Cadillac" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 2:05 PM
Subject: Re: Witango-Talk: metatag while loop


> Hi Atrix,
>
> Use the <@FOR> Metatag and when your condition is met - use the <@BREAK>
> Metatag to stop the For loop. Just set the For Loop much higher than you
> expect your iterations to take, something like:
>
> <@FOR STOP=1000000>
>
> ... do some code here....
>
>  <@IFEQUAL <@VAR local$should_I_stop> TRUE>
> <@BREAK>
> </@IF>
> </@FOR>
>
> Not the most elegant method, but it works.
>
> Hope this helps. Cheers.........
>
> Scott Cadillac,
> Witango.org - http://witango.org
> 403-281-6090 - [EMAIL PROTECTED]
> --
> Information for the Witango Developer Community
> ---------------------
>
> XML-Extranet - http://xml-extra.net
> 403-281-6090 - [EMAIL PROTECTED]
> --
> Well-formed Development (for hire)
> ---------------------
>
> ----- Original Message -----
> From: "Atrix Wolfe" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 27, 2003 3:03 PM
> Subject: Witango-Talk: metatag while loop
>
>
> is there any kind of while loop metatag?
>
> what i want to do is loop until a condition is met so i cant use for or
> anything since i dont know how many iterations it will take.  I know you
can
> do this with a tango action, but id rather use a metatag since i heard
> metatags execute faster and it would also be cleaner to read as a metatag.
>
> what id really like also is a do..while loop but all i can see in the
> actions is a while loop.
>
> anyone have any idea?
>
> Thanks,
> Atrix
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to