How to get lua to run sequentially
snippet in lua

How to get lua to run sequentially

user686

-- no newline, so even on line-buffered systems this may not
-- display immediately
io.write("Enter a number: ")
-- so we force it to
io.flush()