Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
SELECTINFO Function (DataBasic) (m618703+selectinfo_f.htm)
Returns the status of a select list.
SELECTINFO([list || listNumber]{,X})
list The name of a variable containing a select list created using the SELECT statement, or loaded using the GETLIST or READLIST statement.
listNumber An expression that evaluates to zero, specifying the active select list.
X An optional dummy expression that can be included for compatibility with some implementations of this function. Currently ignored.
SELECTINFO returns @TRUE (non-zero) if the select list is active, or @FALSE (zero) if the list is empty or the variable does not contain or reference a list.
IF SELECTINFO(0) = @FALSE THEN SELECT ORDER.FILE TO 0
Selects the file ORDER.FILE to the active select list if this is empty.