From dea53f82d4c38dfeccb6e5427b44a91beb40d9a7 Mon Sep 17 00:00:00 2001 From: Ibrahim Abdulhameed Date: Mon, 1 Sep 2025 12:37:29 +0100 Subject: [PATCH] feat: add Continue --- source/_posts/lua.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/_posts/lua.md b/source/_posts/lua.md index e3f988f..c40c015 100644 --- a/source/_posts/lua.md +++ b/source/_posts/lua.md @@ -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