
5.5.3.7. GetVarByName Function
GetVarByName Function
Returns the reference to the variable which has the specified name.
Syntax
variableReference GetVarByName(doc, name)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
name string Variable name.
Returns
Returns the reference to the variable which has the specified name.
Comments
None
Usage
NexScript
doc = GetActiveDocument()
% get the variable with the name TrialStart
start = GetVarByName(doc, "TrialStart")
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 173
Comentarios a estos manuales