complicated Newbie
Joined: 10 Sep 2003 Posts: 3 Location: USA
|
Posted: Mon Feb 02, 2004 12:31 am
Stop or Abort a loop |
I'm finding out that starting a loop say..
#LOOP 1,20 {#SHOW {test};#WA 1000}
will show the word TEST 20 times regardless if the class has been disabled in the middle of the loop or not.
I've made some scripts where I needed to break the loop and found that the loop kept going even after I disabled the class. Is there a way to stop a loop completely?
I know how to get around it by simply using recursive definitions, but sometimes they are a pain to create and I thought I'd ask to see if there's a command to completely break a loop.
If such command exists, what are the consequences? (meaning memory cleared of all current scripts.. variables cleared or not)
If anyone has any info on this, I'd appreciate it very much. Thanks! |
|