FORMLIST

Top  Previous  Next

 

The FORMLIST statement creates a select list from a dynamic array.

 

 

Format

 

FORMLIST dyn.array {TO list.no}

 

where

 

dyn.arrayevaluates to the list of items to form the select list.

 

list.noevaluates to the select list number. If omitted, select list zero is created.

 

 

Any existing select list list.no is cleared and a new list is created from the elements of dyn.array. This list may be separated by field marks, item marks or a mixture of both.

 

 

Example

 

READ LIST FROM ACCOUNTS, "OVERDUE" THEN FORMLIST LIST

 

This program fragment reads a list from record OVERDUE of file ACCOUNTS and creates select list zero from the elements of this list.