identifiers |
---|
Identifiers in Lua can be any string of letters, digits, and underscores, not beginning with a digit, of any length. For example:
You should avoid using identifiers starting with an underscore followed by upper-case letters, as these are reserved for Lua variables such as _VERSION. Lua is case-sensitive, so foo and FOO are different identifiers. Identifiers cannot be reserved words, these words are reserved: and break do else elseif end false for function if in local nil not or repeat return then true until while See Also ... Lua keywords/topics
Topics
(Help topic: lua=identifiers) |
Enter a search string to find matching documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.