DataObject.GetVarLabel

Prototypes

String GetVarLabel( String sVarName )

Return Value

The return value is a reference to a String object containing the label of the specified variable in the DataObject.

Parameters

String sVarName
The name of the variable whose label you want to retrieve.

Remarks

This method returns the label of a variable.

Example
declare DataObject dobj;
dobj = DataObject.Create( "Sample" );
x = 17:23;
dobj.AddVar( "Age", "Student Age", x );
varlabel = dobj.GetVarLabel( "Age" );
print varlabel;
See Also

DataObject.SetVarLabel