Posted 14 July 2012 - 05:49 PM
i am trying to make an OS but i want to know if there is a way to go to a certain line like the GOTO command in BASIC so i can simply cut back to the main menu of the OS
if <condition> then
-- code
end
if <condition> then
-- code
else
-- code
end
if <condition> then
-- code
elseif <condition2> then
-- code
end
And functions:
local function doSomething()
-- code
end
doSomething()