Difference between revisions of "CONTINUE"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
− | CONTINUE | + | CONTINUE [IN <workarea>|<alias>] |
==See Also== | ==See Also== | ||
Line 10: | Line 10: | ||
==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 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 23: | Line 26: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category: | + | [[Category:NoSQL 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