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


Syntax:     CONTINUE

Purpose:    To resume the pending LOCATE in the current work area.

Usage:      CONTINUE 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 the end-of-file is encountered.  Note that
            the scope of the initial LOCATE is ignored; only the FOR
            condition is used with CONTINUE.

            If the CONTINUE is successful, the matching record becomes
            the current record and FOUND() returns true (.T.).  If it is
            unsuccessful, FOUND() always returns false (.F.).

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

Library:    CLIPPER.LIB


----------------------------------- Example --------------------------------

   USE Sales
   ? LASTREC()                      && Result: 6

   LOCATE FOR Salesman = "1002"
   ? FOUND(), RECNO(), EOF()        && Result: .T. 3 .F.

   CONTINUE
   ? FOUND(), RECNO(), EOF()        && Result: .T. 4 .F.

   CONTINUE
   ? FOUND(), RECNO(), EOF()        && Result: .F. 6 .T.


See Also: LOCATE FOUND()

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