RosettaCodeData/Task/Program-termination/Lua/program-termination.lua

4 lines
49 B
Lua

if some_condition then
os.exit( number )
end