YENGbreak
From OpenSimulator
(Difference between revisions)
(Created page with "break can be used to jump out of do...while, while and for() loops ( or case clauses ) string error = ""; while(true) { if(blabla) { error = "blabla"; brea...") |
m (Add into category) |
||
Line 16: | Line 16: | ||
break; | break; | ||
} | } | ||
+ | |||
+ | [[Category:Scripts]] |
Revision as of 04:35, 22 September 2020
break can be used to jump out of do...while, while and for() loops ( or case clauses )
string error = ""; while(true) { if(blabla) { error = "blabla"; break; } if(bla) { error = "bla"; break; } break; }