home *** CD-ROM | disk | FTP | other *** search
- // TBFwaFst.prg
- //
- // TBfwaFirst() - TBrowse routine called by goTopBlock. fwa stands for
- // "for/while/append". It supports generic for and while
- // conditions and append mode.
-
- FUNCTION TBfwaFirst(bGoFirst, bWhile, bFor)
-
- eval(bGoFirst)
- DO WHILE !eof() .AND. eval(bWhile) .AND. !eval(bFor)
- SKIP
- ENDDO
-
- IF eof() .OR. !eval(bWhile)
- GOTO 0
- ENDIF
-
- RETURN NIL