Difference between revisions of "CONTINUE"

From Lianjapedia
Jump to: navigation, search
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Resume locate search
 
Resume locate search
 
  
 
==Syntax==
 
==Syntax==
CONTINUE
+
CONTINUE [IN <workarea>|<alias>]
 
+
  
 
==See Also==
 
==See Also==
[[FIND]], [[FOUND()]], [[LOCATE]], [[SCAN]], [[SEEK]], [[SET FILTER]]  
+
[[FOUND()]], [[LOCATE]], [[SCAN]], [[SEEK]], [[SET FILTER]]  
 
+
  
 
==Description==
 
==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 or FIND is recommended.
+
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==
 
==Example==
Line 25: Line 24:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Table Basics]]
+
[[Category:NoSQL Commands]]
[[Category:Table Basics Commands]]
+

Latest revision as of 08:20, 4 January 2021

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