i-- will eventually become 0 which (in AS2) is evaluated to false.

so while(i--) works fine.

regards,
Muzak

----- Original Message ----- 
From: "eka" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 11, 2007 6:33 PM
Subject: Re: [Flashcoders] Quick syntax q: how to write a function that 
canreceive an undefined number of parameters


> Hello :)
>
> you don't limit your while loop instruction ?
>
>   while ( --i > -1)
>   {
>
>   }
>
> EKA+ :)
>


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to