GetGlobalVariablesList |
Variables | |
Aptilis 2.1 |
GetGlobalVariablesList()
GetGlobalVariablesList returns an array with the names of all global variables.
The variable names will even appear in the list if they were not initialised yet and if they are defined in imported files.
Return value:
A string array with the variable names.
Example:
sub Init() _homepage = "http://www.aptilis.com/" $ end Init sub main() Init() globalvars[] = getGlobalVariablesList() for i = 0 to getArraySize(globalvars[])-1 print(globalvars[i]$, "\n") end for end mainResult:
homepage errno ENV |
See also GetLocalVariablesList