I'll probably have questions from time to time since I started studying LUA today.
OK. Is it true that since all variables are of 'no type' (or more specifically, the type of whatever value they hold) that they are not declared? Is this implied by it's first use (within the scope it is contained that is, and assuming a value of 'nil upon first usage if not assigned a value)?
My first novice LUA question...
Moderators: Víctor Paredes, Belgarath, slowtiger
My first novice LUA question...
[==Peter==]
http://www.lua.org/manual/5.1/manual.html#2
This the better explanation to your questions. Yes they have not need to be defined and if not assigned, its value is nil.
-G
This the better explanation to your questions. Yes they have not need to be defined and if not assigned, its value is nil.
-G