States Functions

ActiveState              Returns the code value of the currently active state in the given module instance.

AddOptional             Adds a new statement to an action script and returns its own error code.

AddState                 Adds a new state to an existing module and returns its state value.

AddStatement          Adds a new statement to an existing state and returns its own error code.

ClearState               Deletes all of the statements in a state.

DeleteOptional          Deletes a statement from an action script.

DeleteState             Deletes a state from a module.

DeleteStatement       Deletes a statement from a state.

FindAction               Returns an action from the list of actions in a state.

FirstState                Sets the first state in a module.

ForceState              Sets the next state to start when the action script completes.

GetState                 Returns the code value for the specified state.

GetStatement          Returns the code value for the specified statement.

GetStatementNum    Returns the statement number for the specified statement.

GetStateText           Returns the text for the specified state.

ReplaceStatement     Replaces a statement with another statement.

Pending                   Returns the number of statements of a certain type pending.

SetStateText            Sets the information about the text of a state in a .SRC file.

SetTransfer             Sets the destination for an action.

StateList                 Returns a list of states for a module.

StatementInstance    Takes a given code value and object and returns a code pointer value for that instance.

StateName              Returns the text name of the given state.

SubStatementIndex   Returns the index of a function within the statement where it is called.