Die Oberfläche von VDS Renaissance ist in mehreren Sprachen verfügbar. Die offizielle Dokumentation wird auf Englisch gepflegt, um eine einheitliche, konsistente und stets aktuelle Referenz zu gewährleisten.
@INDEX
Syntax
@INDEX( <list> )
Description
This function returns the current index (pointer) value for the string list <list>. The parameter <list> must be either a list number or the name of a list dialog element to which the function will apply. If no list item is selected the value returned by this function is -1.
OK
Unchanged.
Example
LIST CREATE, 1, SORTED
LIST LOADFILE, 1, NAMES.TXT
IF @MATCH(1, John)
INFO John is at position @INDEX(1) in the list
END
LIST CLOSE, 1