I see you set the variable id to _
This may cause some errors.
A breif explanations of variables:
var = "hello" -- String
numb = 123 -- Numbers (int)
other = var -- other variables (in this case "hello")
You have more but lets stick to these for the basics.
For the numbers you can do math operations like +, -, /, * and %.
The Strings are the most used, as you can process user input and test it:
input = read() --assigned variable input to read()
print("Hello "..input) -- you can use the two dots to add a variable to a normal string, this will output, for example, if the used typed in "Joe": #"Hello Joe"
Hope you learned something. Any questions, i will be glad to help
Edited by RoD, 19 April 2014 - 09:23 PM.