4. Keywords
Apart from HTML tags Weave has the keywords
`` BEGIN DATE DOFILE END INCLUDE
OBEY$DIR REM SPACE TEXT YEAR
There are also Lua reserved words
and break do else elseif end false
for function if in local nil not
or repeat return then true until while
and Lua library names
coroutine debug io os math string table
and the following names in the Lua base-library
arg assert collectgarbage dofile error __G getfenv
getmetatable gcinfo ipairs loadfile loadstring newtry next
pairs pcall print protect rawequal rawget rawset
require setmetatable tonumber tostring type unpack __VERSION
xpcall
You should avoid all these as variable names.
Previous versions of Weave also had keywords PUT, DIR and FILETYPE. These can be implemented directly in Lua. New to this version are the keywords BEGIN, `` and the tagifier operations.
|
|
|