5a92cb52 |
1 | local foo = "This shows how to use some standard libraries" |
2 | print(foo) |
3 | local answer |
4 | repeat |
5 | io.write("Continue with this operation (y/n)? ") |
6 | io.flush() |
7 | answer=io.read() |
8 | until answer=="y" or answer=="n" |
9 | local x = "Ok then, %s" |
10 | print (x:format("whatever")) |