GetLocalVariablesList

Variables
Aptilis 2.1

GetLocalVariablesList()

GetLocalVariablesList returns an array with the names of all variables that are currently in scope.

Return value:
A string array with the names of all local variables.

Example:

sub main(args[])

	localvars[] = getLocalVariablesList()
	for i = 0 to getArraySize(localvars[])-1
		print(localvars[i]$, "\n")
	end for

end main

Result:
args
localvars
i

See also GetGlobalVariablesList