GETLIST |
![]() ![]() ![]() |
The GETLIST statement restores a select list from the $SAVEDLISTS file.
Format
GETLIST name {TO list.no} {THEN statement(s)} {ELSE statement(s)}
where
The GETLIST statement restores the previously saved select list identified by name from the $SAVEDLISTS file. The disk copy is not removed by this operation.
The @SELECTED variable can be examined to determine the number of items in the list.
At least one of the THEN and ELSE clauses must be present. If the list is successfully restored, the THEN clause is executed. If the list does not exists or cannot be restored for any other reason, the ELSE clause is executed. |