GetVariable()

Gets the variable referenced by the given string; supports using "." for structures/scopes.

GetVariable( name=string );

Returns: any

Argument Description
name
string, required

Name of the variable to return, supports using "." for structures/scopes.

Examples

str="susi";
	writeOutput(getVariable('str'));
	setVariable('session.AAA', "Hello docs reader");
	dump(getVariable("session.AAA"));
	dump(getVariable("session"));

See also