The SELECTINFO() function returns information about a select list.
Values for the key to the SELECTINFO() function are defined in the KEYS.H record in the SYSCOM file. These are
Use of mode 3 with a list constructed using the QMBasic SELECT statement on a dynamic file requires completion of the selection process and thus may reduce application performance.
PRINT "Stock file has " : SELECTINFO(0, SL$COUNT) : " records"
This program fragment counts and reports the number of records in the file open with file variable STOCK.FILE.