Variables

Let's see how to use "variables" to store values such as numbers, letters, strings of characters (words), etc.

Just a quick note that will make sense after you watch the following video — there are some reserved words in Lua that are NOT available for use as a variable name. Those are:

 and break do else elseif end
 false for function goto if in
 local nil not or repeat return
 then true until while

If you want to use one of those as a variable name, don’t. ;)

Complete and Continue  
Discussion

1 comments