DeleteVariable

Description:              This function deletes a variable from a module.

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

Returns:                    Nothing

Usage:                       Script

Format:                      DeleteVariable(Variable)

Parameters:             Variable     { text }  { required }  { no default }
          Any expression that gives the variable value to delete.

Comments:               The corresponding text for the deleted variable is removed from the document file; however, this is only true if the variable is not a temporary variable, and only if the files are in sync. DeleteVariable will fail if there are any references to the variable to be deleted.

See Also:

DeleteModule| DeleteOptional| DeleteState | DeleteStatement