Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>continue:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CONTINUE:

  Syntax:

  CONTINUE [NOOPTIMIZE]

  NOOPTIMIZE, preempts optimization and forces default Clipper processing.

  Description:

  CONTINUE is a database command that searches from the current record
  position for the next record meeting the most recent LOCATE condition
  executed in the current work area.  It terminates when a match is found
  or end of file is encountered.  If CONTINUE is successful, the matching
  record becomes the current record and FOUND() returns true (.T.); if
  unsuccessful, FOUND() returns false (.F.).

  Each work area may have an active LOCATE condition.  In CA-Clipper, a
  LOCATE condition remains pending until a new LOCATE condition is specified.
  No other commands release the condition.

  NOTE:  The scope and WHILE condition of the initial LOCATE are ignored.
         only the FOR condition is used with CONTINUE.  If you are using a
         LOCATE with a WHILE condition and want to continue the search for
         a matching record, use SKIP and then repeat the original LOCATE
         statement adding REST as the scope.

  Example:

  #include "SIXCDX.CH"
  #include "MACHSIX.CH"

  USE claims
  INDEX on AMT_PAID tag AMT_PAID
  INDEX on REGION TAG REGION

  // show claims greater than 500,000 by region
  LOCATE FOR AMT_PAID >= 500000
  WHILE found()
    ? "Region: ", REGION, " Amount: ", AMT_PAID
    CONTINUE
  ENDDO


See Also: LOCATE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson