AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database

 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.
4

[sh-index] Back to list of manuals