home *** CD-ROM | disk | FTP | other *** search
- *:*********************************************************************
- *:
- *: Program: FOX210.PRG
- *:
- *: System: FoxPro Old-Style "Dot-Prompt" Simulator
- *: Author: Fox Software, Inc.
- *: Copyright (c) 1989, Fox Software, Inc.
- *: Last modified: 10/10/89 17:28
- *:
- *: Procs & Fncts: MYERROR
- *:
- *: Calls: MYERROR (procedure in FOX210.PRG)
- *:
- *: Memory Files: FOX210.MEM
- *:
- *: Notes: This program is just for fun. It's intended
- *: for those who truly LOVE the dot-prompt and
- *: does a fair job of emulating the old-style
- *: interface. To exit this program cleanly,
- *: either type 'QUIT' or 'EXIT' from the "Dot Prompt".
- *: Implementation of the old-style history list
- *: and any other missing features is left as an
- *: exercise for the reader.
- *:
- *: Documented 10/20/89 at 07:04 FoxDoc version 2.0
- *:*********************************************************************
- IF SET('talk') == 'ON'
- SET TALK OFF
- TALK = 'ON'
- ELSE
- TALK = 'OFF'
- ENDIF
-
- STAT = SET('stat')
- SET STATUS ON
- RESTORE FROM fox210 ADDITIVE
-
- DEFINE WINDOW desk FROM 0,0 TO 21,79 NONE
- ACTIVATE WINDOW desk
-
- RESTORE SCREEN FROM X
- SET COLO TO W+/B,W+/B
- ON ESCAPE LOOP
- ON ERROR DO myerror
-
- DO WHILE .T.
- cmd = SPACE(75)
- @ 21,0 SAY '. '
- @ 21, 2 GET cmd
- READ
- SCROLL 0,0,21,79, 1
- &cmd
- ENDDO
-
- ON ERROR
- SET COLOR TO
- ON ESCAPE
- RELEASE WINDOW desk
- SET STATUS &stat
- SET TALK &talk
- RETURN
-
- *!*********************************************************************
- *!
- *! Procedure: MYERROR
- *!
- *! Called by: FOX210.PRG
- *!
- *!*********************************************************************
- PROC myerror
- ? MESSAGE()
- ?
- RETURN
-
-
- *: EOF: FOX210.PRG
-