mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 21:44:45 +03:00
feat: add Continue
This commit is contained in:
1 parent
af56bbb0d2
commit
dea53f82d4
1 file changed
+13
@@ -226,6 +226,19 @@ while x do
|
||||
end
|
||||
```
|
||||
|
||||
### Continue
|
||||
|
||||
```lua
|
||||
-- prints even numbers in [|1,10|]
|
||||
for i=1,10 do
|
||||
if i % 2 == 1 then
|
||||
goto continue
|
||||
end
|
||||
print(i)
|
||||
::continue::
|
||||
end
|
||||
```
|
||||
|
||||
## Data Type APIs
|
||||
|
||||
### Strings
|
||||
|
||||
Reference in new issue
Block a user