Progress
Language Tutorial
for Windows


ADD-LAST( ) and LOOKUP( ) Methods

The selection list supports a variety of methods to give you greater flexibility during runtime. Table 7–9 defines two important methods.

Table 7–9: Selection List Methods 
Attribute
Description
ADD-LAST(list-item)
Adds a new list item to the bottom of the selection list. This method returns TRUE if the method successfully added the item to the selection list and FALSE if it failed.
LOOKUP(list-item)
Returns the INTEGER index of the supplied list item in the selection list.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095