Index: class.doc ================================================================== --- class.doc +++ class.doc @@ -911,16 +911,28 @@ For some instructions, a comma prefix means to operate on another object, while the lack of the comma means to operate on itself; for some other instructions, a comma prefix means to use signed instead of unsigned arithmetic. An equal sign prefix usually means to write instead of read. -Some instructions are block instructions; see the next section. +Anywhere an instruction is allowed, it may be one of these instructions, or +it may be a constant value, or reading/writing a variable (see the above +section about variables specific to objects), or a block instruction (see +the next section for block instructions). Many instructions are state-changing instructions; these instructions are marked with ** in the summary line. Such instructions are not allowed to be used on the same turn as the IgnoreKey instruction. + + Call a user-defined function (the name starts with a ampersand). + + ( -- any ) + Read a global variable. + += ( any -- ) ** + Write a global variable. +