Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-27-2005, 07:49 PM
Junior Member
 
Join Date: Dec 2004
Posts: 7
Default while - until ?loop

Is a "until" loop also possible?

i had only found a "while" loop like
Code:
while (x == defineted) {...make anything....}
but i need i loop like until and
Code:
while (x != defineted) {...make anything....}
didn't work!
Reply With Quote
  #2 (permalink)  
Old 02-28-2005, 01:31 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:while - until ?loop

do...while

Code:
x = 0;

do
{
trace(x);
x++;
} while (x < 1);
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:46 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.