home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
dbaseii
/
tdas.ark
/
STUDENT.PRG
< prev
next >
Wrap
Text File
|
1986-08-24
|
3KB
|
105 lines
*******************************************************************************
* Main menu for working with student files *
*******************************************************************************
SET talk OFF
DO WHILE T
STORE " " to Cdate
STORE " " to Lastentry
SET Confirm ON
Store " " to Choice
ERASE
DO WHILE .not. Choice$"01234567"
SET Intensity OFF
SET Color TO 11
@ 1,31 SAY "YOUR COMPANY NAME"
SET Color to 1
@ 3,28 SAY "Student Processing Menu"
SET Color to 112,7
SET Intensity ON
@ 5,3 SAY "Enter date NUMERICALLY Here"
SET Intensity OFF
SET Color to 9
@ 5,31 SAY "(TWO digits"
SET Color to 7
@ 5,43 SAY "for month"
SET Color to 139
@ 5,53 SAY "ALWAYS"
SET Color to 7
@ 5,59 SAY "):"
SET Color to 112,7
SET Intensity ON
@ 7,34 GET Cdate PICTURE "99/99/99"
*
@ 9,25 SAY "1 - Add Student Records"
@ 10,25 SAY "2 - Edit Student Records"
@ 11,25 SAY "3 - Replace Ex-Student Back into the Active File"
@ 12,25 SAY "4 - Delete Student Record to Ex-Student File"
@ 13,25 SAY "5 - Do Billing, Check Entry or Accounting Reports"
@ 14,25 SAY "6 - Print a Student Phonebook"
@ 15,25 SAY "7 - Print a Student Address/Phone Book"
@ 17,25 SAY "0 -"
SET Intensity OFF
SET Color to 1
@ 17,28 SAY "Go Back to Main dBASE Program"
SET Color to 112,7
SET Intensity ON
@ 20,26 SAY "-"
SET Intensity OFF
SET Color TO 240
@ 20,27 SAY "Pick One!"
SET Color to 112,7
SET Intensity ON
SET Confirm OFF
@ 20,24 GET Choice
READ NOUPDATE
ENDDO
DO CASE
CASE Choice = "1"
Do Student1
CASE Choice = "2"
Do Student2
Case Choice = "3"
Do Student3
Case Choice = "4"
Do Student4
Case Choice = "5"
Do Student5
Case Choice = "6"
DO Fonebook
CASE Choice = "7"
DO Address
Case Choice = "0"
RELEASE ALL
USE
SET Talk ON
ERASE
CANCEL
ENDCASE
RELEASE ALL
ENDDO
CANCEL
* EOF
9/1/84 Main menu for working with student files
SET talk OFF
DO WHILE T
STORE " " to Cdate
STORE " " to Lastentry
SET Confirm ON
Store " " to Choice
ERASE
DO WHILE .not. Choice$"01234567"
SET Intensity OFF
SET Color TO 11
@ 1,31 SAY "YOUR COMPANY NAME"
SET Color to 1
@ 3,28 SAY "Student Processing Menu"
SET Color to 112,7
SET Intensity ON
@ 5,3 SAY "Enter date NUMERICALLY Here"
SET Intensity OFF
SET Color to 9
@ 5,31 SAY "(TWO digi