Subscriber portal
Returns the value of the enumeration item that is specified by an index.
public int index2Value(int index)
The following example shows the retrieval of the value for items in an enumeration.
DictEnum de; int i; de = new DictEnum(enumName2Id("ActionType")); for (i=0; i < de.values(); i++) { print int2str(i) + ", " + int2str(de.index2Value(i)); }