MQL4 Reference
Global variables
GlobalVariablesDeleteAll
| int GlobalVariablesDeleteAll( |
string prefix_name=NULL) |
Deletes global variables. If the name prefix is not specified, all global variables will be deleted.
Otherwise, only those variables will be deleted, the names of which begin with the specified prefix.
The function returns the count of deleted variables.
Parameters:
| prefix_name |
- |
Name prefix of the global variables to be deleted. |
Sample:
Print(GlobalVariablesDeleteAll("test_")," test globals deleted");
|
|
|