Break statement does not work inside conditional statements in while loop.
Example:
require "ifj21"
function main()
local foo : integer = 1
while foo do
if foo then
break
end
end
write("hello\n")
end
main()
Output:
Error at line: 311
Label does not exist!
Break statement does not work inside conditional statements in while loop.
Example:
Output: