Xbasic
DELETE
Syntax
DELETE [ Scope ] Variable_Name
Arguments
- Scope
"LOCAL" (Default) = The variable is visible only to the current script.
"SHARED" = Desktop applications. Variable exists as long as a window is open. Even if you change the layout that is loaded in the window (by using the File > Open... command from within the Form or Browse window), the variable continues to exist.
"GLOBAL" = Desktop applications. Variable exists as long as Alpha Anywhere is running, until you close the current database.
- Variable_Name
The name of the variable to be deleted.
Description
DELETE deletes Variable_Name. You can specify an optional scope in order to explicitly define the variable to be deleted.
Example
dim field_value as D delete field_value
See Also