home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
d_b_a
/
87_01
/
mail.sc
< prev
next >
Wrap
Text File
|
1986-12-05
|
2KB
|
55 lines
;--------------------------------------- Mail.SC
; By Alan Simpson
; based on his book "Mastering Paradox," in an excerpt published
; by Data Based Advisor, Vol. 5, No. 1, Jan. 1987
; Copyright 1986, Sybex Books, All Rights Reserved
; ---------- Script to integrate mailing system.
CLEARALL
; ---------------- Display opening screen.
STYLE ATTRIBUTE 30
CLEAR
@ 8,25
?? "Mailing List Management System"
STYLE
@ 10,1
TEXT
Select options from the menu above, either by highlighting
and pressing Enter or by typing in the first letter of
the option. Moving the highlight with the cursor arrow
keys display a brief description of each option.
ENDTEXT
;------------- Set up loop to repeat menu.
Choice = " "
WHILE Choice <> "Exit"
;---------------- Show Paradox-style menu.
SHOWMENU
"Add" : "Add new records",
"Sort" : "Sort data into alphabetical or zip code order",
"Print" : "Print directory, labels, or letters",
"Change" : "Change or delete data",
"Exit" : "Return to Paradox"
TO Choice
;---------- Branch to new script based on choice.
SWITCH
CASE Choice = "Add" :
PLAY "AddNew"
CASE Choice = "Sort" :
PLAY "Sorter"
CASE Choice = "Print" :
PLAY "RepMenu"
CASE Choice = "Change" :
PLAY "EditDel"
ENDSWITCH
ENDWHILE
;------------- Exit selected.
CLEAR
STYLE REVERSE
@ 12,24
?? "Returning to Paradox main menu..."
SLEEP 1000