Posted 08 September 2012 - 02:59 AM
I don't really want an answer a specific problem, but I don't know where else to put this. So I recently got into programming in lua (after programming in TI-BASIC [TI-84 Calculator]), and I don't understand how to use functions. On the calculator I would just execute another program within the program, using global variables in all. I realize that in lua you can use the io.read as a variable and set specific parameters in the function name (I think), but I don't really understand the relationship between the function, read, and the rest of the program. I guess I would like someone to clarify.