home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 14.1 Primitive dBASE III PLUS (or "How Not to Write a") Menu
- Author: Greg Lief
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
-
- If you actually want to run this under dBASE, be forewarned that it
- will not like these funny block comments! But then again, if you are
- still using dBASE, why did you even buy this book??
- */
-
- clear
- sel = ' '
- do while sel <> 'Q'
- @ 10, 33 say "A. Data Entry"
- @ 11, 33 say "B. Reports"
- @ 12, 33 say "C. Maintenance"
- @ 13, 33 say "D. Backup"
- @ 14, 33 say "Q. Quit"
- @ 18, 31 say "Your Selection:" get sel picture '!'
- read
- if sel = "A"
- dataentry()
- elseif sel = "B"
- reports()
- elseif sel = "C"
- maint()
- elseif sel = "D"
- backup()
- endif
- enddo
-
- //───── end of file CHP1401.PRG
-