Execute Brain****/Lua: Difference between revisions

fixed missing then
(Fixed bracket matching and made them a bit more robust.)
(fixed missing then)
Line 36:
if program:sub(instruction, instruction) == "[" then
b = b + 1
elseif program:sub(instruction, instruction) == "]" then
b = b - 1
end
Anonymous user