Optimizer.GetStateVariableIndex(String) Method

Top 

Description

Returns the index of the StateVariable with the specified label, or -1 if the entry is not found.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Optimizer.GetStateVariableIndex(

String label)

 

 

Arguments

label


Description:

The label corresponding to the state variable.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the specified state variable.

 

Syntax

myVariable1 = myOptimizer1.GetStateVariableIndex(myString1);

 

 

See also

Optimizer Object