FutureBasic Logo

<<    Index    >> FutureBasic 5

index$   function



Syntax:
stringVar$ = index$(element [,indexID])

Description:
This function returns an element from one of the special index$ string arrays (see the index$ statement and the clear <index> statement for information about how index$ arrays are created). The indexID parameter specifies which of the index$ arrays (0 through 9) to return an element from; if this parameter is omitted, index$ array 0 is used. The element parameter specifies which element to get. If the indicated index$ array has not yet been initialized by the clear <index> statement, or if element specifies an element that has not yet been assigned any value, then index$ returns an empty (zero-length) string.

See Also:
CFIndexSort; clear <index>; index$ D; index$ I; index$ statement; indexf; mem