Equinox Online Help - Language Reference - A to Z

Home

IndexFromName

Applies to
SyntaxIndexFromName (NameExpression)
Action[Function] Returns an index variable type from a string name.
ScopeUsable anywhere.
Notes

This function returns a value with the same type as an index variable from the parameter NameExpression. It is useful for converting user selections to indexes.

CategoryIndexes
See Also BlankIndex, CopyIndex, CurrentIndex, GroupSetIndex, IndexLastUsed, IsDuplicate, KeyValues, MakeKey, MarkIndex, ModifyIndex, NameFromIndex, SetExecuteIndex, SetIndex, UnmarkIndex, UpdateIndex
Example

The following example returns a value to an index variable from a string selected by a user from a combo workarea called cSelect.

index Ind

Ind = IndexFromName(cSelect)