Navigation: Programming with Amos > Class Reference > CValue Class Reference > CValue Class Members > Methods
VariableFromName Method
Gets a Variable object . A Variable object contains information about a variable, such as its name, whether it is exogenous, etc.
Syntax
result = object.VariableFromName (variableName)
The VariableFromName method syntax has the following parts:
Part
Description
result
An object of type Variable.
object
An object of type CValue.
variableName
(String) A variable name.