Lua
is a dynamically typed language. This means that variables do not have types;
only values do. There are no type definitions in the language. All values carry
their own type.
All values in
Lua are first-class values. This means that all values can be stored in
variables, passed as arguments to other functions, and returned as results.
nil — it usually represents the absence of a
useful value.
boolean — represents two conditions 'false' or 'true'
number — represents real (double-precision floating-point) numbers.
string — represents arrays of characters. Lua is 8-bit clean: strings can contain any 8-bit character, including embedded zeros.
function — click here to get more details
table — the sole data structuring mechanism in Lua.
boolean — represents two conditions 'false' or 'true'
number — represents real (double-precision floating-point) numbers.
string — represents arrays of characters. Lua is 8-bit clean: strings can contain any 8-bit character, including embedded zeros.
function — click here to get more details
table — the sole data structuring mechanism in Lua.
Comments
Post a Comment