RESERVED WORDSSee also the Lua reference manual
and break do else elseif end false for function goto if in local nil not or repeat return then true until whileYou may not use reserved words as variable names. The following names are valid variable-names but are already assigned in standard Lua:
assert collectgarbage dofile error getmetatable ipairs load loadfile next pairs pcall print rawequal rawget rawlen rawset require select setmetatable tonumber tostring type warn xpcall _ENV _G _PROMPT _PROMPT2 _VERSIONtogether with the names of the standard libraries:
coroutine debug io os package string tableTo these RiscLua adds libraries:
lpeg riscosIf you assign your own values to them beware that you may lose their initial values.