name_in

Gets the contents of a variable.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

expr name_in(varname)
string       varname

Description

varname specifies the variable; it must evaluate to a fully-qualified variable name.

Notes

Specify -s with TRIMgen to include the symbol table in the runtree.

Example

Prints the content of the specified variable.
{
 char varname[4];
 datetime dt;
 dt = "15-JUN-75";
 varname = "g.dt";
 printf("Variable content is " ^^ name_in(varname));
}