home *** CD-ROM | disk | FTP | other *** search
- *********************
-
- FUNCTION Breakout
-
- * This function allows a breakout condition either on
- * a FILTER or a WHILE condition.
-
- _breakrec = LASTREC()
- _breakkey = INKEY()
- IF _breakkey = 13 .OR. _breakkey = 27 .OR. NEXTKEY() = 13 .OR. NEXTKEY() = 27
- GO _breakrec
- SKIP
- RETURN(.F.)
- ELSE
- RETURN(.T.)
- ENDIF
-
- * End of File