home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug061.arc
/
CHECKS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
2KB
|
86 lines
*********CHECKS.CMD********
CLEAR
SET TALK OFF
DO DATE
RESTORE FROM CkMem
DO WHILE T
ERASE
@ 1, 5 SAY [*********************************************************************]
@ 2, 5 SAY [* *]
@ 3, 5 SAY [*********************************************************************]
SET INTENSITY OFF
@ 2,28 SAY [CHECKBOOK MAINTENANCE]
@ 7,25 SAY [1 Enter Checks]
@ 8,25 SAY [2 Enter Deposits]
@ 9,25 SAY [3 Miscellaneous Entries]
@ 10,25 SAY [4 Verify Balance]
@ 11,25 SAY [5 Reconcile with Statement]
@ 12,25 SAY [6 Edit Records]
SET INTENSITY ON
@ 14,25 SAY [X Exit to dBASE II]
@ 15,25 SAY [I Initialize Program]
SET INTENSITY OFF
STORE ' ' TO CkChoice
@ 17,25 SAY [CHOICE?]
SET INTENSITY ON
@ 17,33 GET CkChoice
READ
DO WHILE (CkChoice < '1' .OR. CkChoice > '6') .AND. !('&CkChoice') <> 'X' .AND. !('&CkChoice') <> 'M'.AND. !('&CkChoice') <> 'I'.AND. !('&CkChoice')<>'E'
@ 18,0
DO WHILE N<10
STORE 1 TO N
STORE N+1 TO N
ENDDO
@ 19,20 SAY [INVALID CHOICE. PLEASE TRY AGAIN.]
@ 17,33 GET CkChoice
READ
ENDDO
IF !('&CkChoice') = 'X'
SAVE TO CkMem
USE
RETURN
ENDIF
IF !('&CkChoice') = 'M'
ERASE
DISPLAY MEMORY
WAIT
ENDIF
IF !('&CkChoice') = 'I'
DO INITPROG
ERASE
USE
ENDIF
DO CASE
CASE CkChoice = '1'
STORE 'EnterCk' TO CmChoice
DO GetBase
ERASE
USE
CASE CkChoice = '2'
STORE 'EnterDep' TO CmChoice
DO GetBase
ERASE
USE
CASE CkChoice = '3'
STORE 'EnterMsc' TO CmChoice
DO GetBase
ERASE
USE
CASE CkChoice = '4'
STORE 'Verify' TO CmChoice
DO GetBase
ERASE
USE
CASE CkChoice = '5'
STORE 'Recncile' to CmChoice
DO GetBase
ERASE
USE
CASE CkChoice = '6'
STORE 'EditCk' TO CmChoice
DO GetBase
ERASE
USE
ENDCASE
ENDDO