|
Hello there, So this is my first "lua mailing list" post and I got a problem with my lua code I just started coding luai yesterday and tutorials won't give me answers to my case. So, in this scenario, I want the code to first ask the user for his name and age. Then, depending the age is either below or above (or exact) 18, it should print different text lines. The problem is, it prints the line "Hello, .. myName" but everything after doesn't compile... As said, it's my first code and still trying to improve my knowledge of lua/luai. Any further improvements would also be appreciated. Here's the code: io.write("Please enter your name here: ") (Also English isn't my first language so please excuse any English mistakes) |