RiscLua Syntax
Variable names in Lua can be any string of letters, digits and
underscores, not beginning with a digit. Case matters.
RiscLua also permits the use of
` ! ? $ @
though the riscos library uses the single-character names
!, ? and $, and the dbl library uses the single-character
name @.
RiscLua treats hard spaces as ordinary spaces.
The following operation symbols are special to RiscLua:
& bitwise and
| bitwise or
^^ bitwise xor
~ bitwise not
<< left shift
>> right shift
The following alternative notations are available in RiscLua:
The keys of a table, that obey the rules for identifiers,
can be promoted to local variables with the declaration:
local x,y, ... in table_expr
|
|
|