How i can make “continue” analog in “for” loop in lua??? [import]uid: 38610 topic_id: 19540 reply_id: 319540[/import]
Well… you’ll just have to wrap it in ifs…
The below code
[lua]for i=1,n do
–code1
if then continue end
--code2
end[/lua]
will translate roughly to
[lua]for i=1,n do
--code1
if not then
--code2
end
end[/lua] [import]uid: 64174 topic_id: 19540 reply_id: 75455[/import]