[FIXED 076] Break statement not supported?

Post any Bug Reports here
Post Reply
Juryiel
Posts: 103
Joined: Fri Jan 04, 2008 1:18 pm

[FIXED 076] Break statement not supported?

Post by Juryiel » Wed Jan 09, 2008 7:10 am

I tried to use a break in my for loop but I get a script parsing error on the console. It's a documented simkin statement. I'm currently using return 0 to get out of the loop so it's not really a big deal, but just a heads up. Or if I don't want to exit the entire function with return 0 I just set the condition for the loop to break instead of using break.

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams » Wed Jan 09, 2008 6:50 pm

The break statment is not supported in the currently used version of simkin, will be updated in RF076.

Juryiel
Posts: 103
Joined: Fri Jan 04, 2008 1:18 pm

Post by Juryiel » Thu Jan 10, 2008 8:52 am

Cool, that's good to know. Apparently my two above methods don't always comply with all forms of logic, as I had previously assumed, so a break function will indeed be useful :)

Post Reply