2025-08-04 14:52:13 +08:00

23 lines
498 B
Plaintext

module: Main
import: os
function: main
returns: int
body:
loop:
init:
declare i:int = 1
cond:
i <= 10
step:
i = i + 1
body:
if i % 2 == 0 then
os.print(i)
end if
end body
end loop
return 0
end body
end function
end module