Generic script object. This class can be used to implement a simple state machine.
Script : object
Superclass Tree (in declaration order)
Summary of Properties
Summary of Methods
Property giving our current state. This should never be used directly; instead, getScriptState() should always be used, since getScriptState() can be overridden so that the state depends on something other than this internal state property. The meaning of the state identifier is specific to each subclass.
Process the next step of the script. This routine must be overridden to perform the action of the script. This routine's action should call getScriptState() to get our current state, and should update the internal state appropriately to take us to the next step after the current one.
By default, we don't do anything at all.
Get the current state. This returns a value that gives the current state of the script, which is usually simply an integer.
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3