DeleteOptional

Description:              This function deletes a statement from an action script.

Warning:               This function should be used by advanced users only. Irrevocable alteration of your application may occur.

Returns:                    Nothing

Usage:                       Script

Format:                      DeleteOptional(Action, Position)

Parameters:             Action     { Code value }  { required }  { no default }
          Any expression that gives the code value of the action.

                                    Position     { numeric }  { required }  { no default }
          Any numeric expression giving the statement number in the script to delete, beginning with 1.

Comments:               The corresponding text for the deleted statement is removed from the document file.

                             This statement is disabled in the run time version of VTS; it will do nothing.

See Also:

DeleteModule | DeleteState | DeleteStatement | DeleteVariable