|
发表于 2018-6-28 21:27:35
|
显示全部楼层
For example, if you want to jump of of a for loop "for(i 1 100 ....)", you may write it as
flag = t
while((flag && i<101)
.....
.....
if(....., flag = nil) ;if the condition is true, then jump out of the while loop
i = i + 1 ;increase the index
);while |
|