11.2.7 DeleteGV method (delete a global variable)
- Purpose
-
Deletes a global variable.
- Syntax
Object.DeleteGV(GlobalName)
- Arguments
-
- Object
-
Specify the object representing the reference to the SPTO control.
- GlobalName
-
Specify the global variable to be deleted as a string value. Or, you can specify the following value:
Value
Meaning
AllGV
Delete all global variables, but preserve the global variable file (SPTGV.SPG).
- Description
-
The DeleteGV method deletes a specified global variable. The method returns True on successful execution, or False if an error occurs.
If you specify a non-existent global variable, the method returns True without doing anything.
- JP1/Script version
-
Supported from JP1/Script 06-51.