(See also: Advanced Module Functions)
ActiveCode Returns the code value of the currently active statement in the given module instance.
ActiveState Returns the code value of the currently active state in the given module instance.
ActiveWindow Returns the object value of the root module instance in the current active window.
AddModule Adds a new module to an existing module and returns the module value of the newly created module.
AddOptional Adds a new statement to an action script and returns its own error code.
AddPageToApp Adds a new application page
AddParameter Adds an existing variable as a module parameter and returns the number of parameters in the module.
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.
AddVariable Adds a new variable to an existing module and returns its variable value.
AdjustArray Changes the array information for a variable.
AdjustCode Adjusts the offsets and sizes of items stored in the .RUN file within the document file.
AnimateState Animates a state diagram given changes in a running module instance.
BuffToParm Reads module parameters from a formatted buffer containing numerical data and returns the number of data items read.
Call Starts an instance of the module specified by its first parameter.
CalledInstances Returns the object values of module instances that are called by a particular module.
Caller Takes a given object value for a module and returns the object value of the module by which it was called.
CanEditDoc Returns an indication as to whether or not the document for the given module can be edited.
Cast Change one type of value to another.
ChangePersistentSize Changes the space allocated in the persistent value (.VAL) file for a variable.
ChildDocs Gets the module values for the root and all descendent modules that match the conditions defined by the second parameter.
ClearModule Deletes the contents (all variables and states) of a module without removing the module itself.
ClearState Deletes all of the statements in a state.
CollapseTree Collapses (hides) a sub-tree of a module tree diagram.
Compile Compiles text and creates a new function; its type of return value is determined by its input parameters.
ConstCount Returns the number of constant parameters in a function.
CreateModule Creates a new module and returns a pointer to it.
CriticalSection Marks a section of a module as a critical section and will not allow interruption of its execution by other threads.
DeleteModule Deletes a module from the system.
DeleteOptional Deletes a statement from an action script.
DeleteState Deletes a state from a module.
DeleteStatement Deletes a statement from a state.
DeleteVariable Deletes a variable from a module.
DLL Returns a value of a type specified by its parameter from a call to Microsoft Windows Dynamic Link Library using the C calling convention.
FileRootModule Returns the module value of the root module that is defined by the document file that also contains the specified module.
FindAction Returns an action from the list of actions in a state.
FindVariable Searches for a variable by text name and returns a variable value.
FirstState Sets the first state in a module.
ForceState Sets the next state to start when the action script completes.
FormalParms Returns the number of formal parameters declared in a module.
GetDefaultValue Returns a variable's default value.
GetID Returns the ID (opcode) of a statement.
GetInstance Returns the object value of a module instance.
GetModuleRefBox Returns the outer reference box for any selectable (GUI) graphics in a module.
GetModuleText Returns information about a module's document file.
GetOneParmText Returns the text for one parameter of a function.
GetParmText Returns the text for all parameters of a function.
GetParserOffset Returns the offset before the last compiled statement.
GetReturnValue Returns a module's return value.
GetServiceScope (RPC Manager Library) Returns the service instance for a service.
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.
GetStatus (RPC Manager Library) Returns a variable that holds the current service instance status for the specified service.
GetToken Reads the next token from a stream and returns the token type.
GetTransitText Returns information about the documentation of an action.
GetVariableText Returns information about the documentation of a variable.
GetXformRefBox Returns the reference box for any transform of a module.
LastSelected Returns the most recently selected graphic statement.
LastSelectedModule Returns the most recently selected module in a module tree.
LastSelectedState Returns the most recently selected state in a state diagram.
ListVars Returns a list of variables.
LoadDLL Load a DLL (Windows Dynamic Link Library).
LoadModule Load a module from its .RUN files and returns a pointer to that module.
LValue Returns an indication of whether its argument can be used on the left-hand side of an assignment.
MakeDAG Constructs a directed acyclic graph (an internal function representation).
MakeNonPersistent Makes a variable non-persistent.
MakeNonShared Makes a variable non-shared.
MakePersistent Makes a variable persistent.
MakeShared Makes a variable shared.
MCSInstance Returns the object value of a module called by another module.
MCSMod Returns the module value from a line of code that calls that particular module.
ModuleFileName Returns the full path (including the drive letter) and file name of the document (.SRC) file of a module.
MoveState Moves the position of a state in a state diagram.
NParm Returns the number of parameters listed in a module instance.
NumParms Returns the number of parameters of a statement.
NumSets Returns the number of statements that are currently active in setting a particular variable.
NumVariables Returns the number of variables in a module.
OwningModule Returns the module which contains a certain variable.
ParserSRO Adds a scope resolution reference to a variable on top of the PARSER_STACK given the stack and the object value.
PersistentSize Returns the size in bytes of a variable's persistent value size in the persistent value (.VAL) file.
RemoveParameter Removes a parameter from a module's parameter list.
ReplaceStatement Replaces a statement with another statement.
ResetParm Resets a latched parameter.
ResyncDoc Synchronizes the time and date for the document and .RUN files.
RunFileName Returns the name of the .RUN file for a module, including the full drive and path.
RunFileVersion Returns the minimum version of VTS that can read the .RUN files produced by the current version.
SaveModule Saves a module definition to its *.RUN file.
SetDefault Sets the default value for a variable.
SetLibrary Sets the library for an application.
SetModuleRefBox Sets the reference box for a module.
SetModuleText Sets the module's .SRC file information.
SetOneParmText Sets the text for one parameter of a function.
SetParameter Sets a parameter in a statement.
SetParmText Sets the text for the parameters of a function.
SetParserParm Sets the value for the last parameter on the parser stack and returns its own error code.
SetRefRect Sets the first four constant parameters of a layered graphic statement.
SetStateText Sets the information about the text of a state in a .SRC file.
SetTransfer Sets the destination for an action.
SetTransitText Sets the information about the documentation of an action in the .SRC file.
SetVariableClass Sets the class number of a variable and returns its previous class number.
SetVariableText Sets the information about the documentation of a variable in the .SRC file.
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.
TextOffset Returns the character offset to the definition text of a desired item.
TextSize Returns the size in characters of the definition text of a desired item.
VarAttributes Returns the attributes bitfield of a variable.