The local n1=1
Repeat
Break - here I want to exit the loop directly
N1 n1 + 1=
Until n1==4
Run go wrong? How to change the
CodePudding user response:
Lua syntax requires break and return can only appear at the end of the block
CodePudding user response:
Also if you want to enter the loop body is out of the first time, why still use cycle?
CodePudding user response: