CONTINUE

From Lianjapedia
Jump to: navigation, search

Purpose

Resume locate search

Syntax

CONTINUE [IN <workarea>|<alias>]

See Also

FOUND(), LOCATE, SCAN, SEEK, SET FILTER

Description

The CONTINUE command searches for the next record which meets the criteria as specified in the LOCATE command. If the search was successful, the FOUND() function will return .T., otherwise .F.. For large searches, indexing the table and using SEEK is recommended.

IN <workarea>|<alias>

If the workarea number, letter or alias name is specified, the CONTINUE is carried out in that workarea. From v6.0.

Example

use patrons
locate for event = "OPERA"
do while found()
    display name, event
    continue
enddo