This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

More odd errors....

Old posts that have not been replied to for several years.
Locked
J
Jimbo

Post by Jimbo »

i have written a proc that uses:
if {check} {body}
elseif {chec} {body}
and in the body of the if and elseif i put a break at the end. However i am getting this error:
[14:12] Tcl error in script for 'timer12':
[14:12] invoked "break" outside of a loop
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

You can't use 'break' to get out of if/elseif/else.
J
Jimbo

Post by Jimbo »

Ok...thats the prob then!!

Thanx anyway!
Locked