home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Generous Efforts of Many
/
gemcd.zip
/
GEM.CD.A.po
/
FEATURES:COLUMNIST
/
STARTUP.bas
< prev
next >
Wrap
BASIC Source File
|
2010-05-14
|
3KB
|
60 lines
10 REM <CTRL-M><CTRL-M> Menu Menu<CTRL-M><CTRL-J>
20 D$ = CHR$(4): PRINT D$"PREFIX": INPUT P$: PRINT D$"PREFIX"P$
30 PRINT CHR$(21): TEXT : HOME
40 INVERSE : PRINT "\" SPC( 38)"/";
50 PRINT " ";: NORMAL : PRINT SPC( 38);: INVERSE : PRINT " ";
60 PRINT " ";: NORMAL : PRINT " Columnist (etcetera) ";: INVERSE : PRINT " ";
70 PRINT " ";: NORMAL : PRINT SPC( 38);: INVERSE : PRINT " ";
80 PRINT " ";: NORMAL : PRINT " By Karl Bunker ";: INVERSE : PRINT " ";
90 PRINT " ";: NORMAL : PRINT SPC( 38);: INVERSE : PRINT " ";
100 PRINT "/" SPC( 38)"\";: NORMAL
110 VTAB 11: HTAB 10: PRINT "<1>-About this disk"
120 VTAB 13: HTAB 10: PRINT "<2>-Columnist menu"
130 VTAB 15: HTAB 10: PRINT "<3>-Encryptor menu"
140 VTAB 17: HTAB 10: PRINT "<4>-Dogpaw menu"
150 VTAB 19: HTAB 10: PRINT "<5>-Print a shareware envelope"
160 VTAB 21: HTAB 10: PRINT "<esc>-Quit to BASIC"
170 HTAB 10: VTAB 24: PRINT "< >-?";: HTAB 11: GET G$
180 IF G$ = CHR$(27) THEN VTAB 23: END
190 IF G$ <"1" OR G$ >"5" GOTO 170
200 IF G$ = "1" THEN PR$ = "This Disk":DC$ = "ABOUT.THIS.DISK":RN = 0: GOTO 330
210 IF G$ = "2" THEN PR$ = "Columnist":DC$ = "COLUMNIST.DOCS":RN = 1
220 IF G$ = "3" THEN PR$ = "Encryptor":DC$ = "ENCRYPTOR.DOCS":RN = 1
230 IF G$ = "4" THEN PR$ = "Dogpaw":DC$ = "DOGPAW.DOCS.C":RN = 0
240 IF G$ = "5" THEN PRINT D$"RUN S.WARE.ENV"
250 REM <CTRL-M><CTRL-M> Level 2 Menu<CTRL-M><CTRL-M>
260 PRINT CHR$(21): HOME : INVERSE : PRINT "\" SPC( 38)"/";
270 PRINT " ";: NORMAL : PRINT SPC( 38);: INVERSE : PRINT " ";: NORMAL
280 HTAB 21 -( LEN(PR$)/2): PRINT PR$;: HTAB 40: INVERSE : PRINT " ";
290 PRINT " ";: NORMAL : PRINT SPC( 38);: INVERSE : PRINT " ";
300 PRINT " ";: NORMAL : PRINT " By Karl Bunker ";: INVERSE : PRINT " ";
310 PRINT " ";: NORMAL : PRINT SPC( 38);: INVERSE : PRINT " ";
320 PRINT "/" SPC( 38)"\";
330 VTAB 11: HTAB 1: NORMAL : CALL -958: PRINT " About "PR$"..."
340 VTAB 13: HTAB 6: PRINT "<1>-Text to screen"
350 VTAB 15: HTAB 6: PRINT "<2>-Scan text for a word or phrase"
360 VTAB 17: HTAB 6: PRINT "<3>-Text to printer"
370 IF RN THEN VTAB 19: PRINT " <4>-Run "PR$
380 PRINT : PRINT " <esc>-Back to main menu
390 PRINT : PRINT : PRINT " < >-?<CTRL-H><CTRL-H><CTRL-H><CTRL-H>";: GET G$
400 IF ASC(G$) >32 THEN PRINT G$;
410 IF G$ = CHR$(27) GOTO 30
420 IF G$ = "4" AND RN THEN PRINT D$"-"PR$
430 IF G$ <"1" OR G$ >"3" GOTO 330
440 AP$ = "":SC$ = ""
450 IF PEEK(49249) >127 AND PEEK(64435) = 6 THEN AP$ = "%"
460 IF NOT DP THEN DP = 1: PRINT D$"-DOGPAW"
470 IF G$ = "3" GOTO 510
480 IF G$ = "2" THEN VTAB 22: HTAB 1: CALL -958: PRINT : PRINT "Enter the string to scan for:": INPUT "";SC$:SC$ = "$" +SC$
490 PRINT D$"PR#3": PRINT : PRINT "One moment -"
500 PRINT D$"DOGPAW"DC$SC$: GOTO 580
510 REM Print
520 IF PEEK(64435) = 6 AND PEEK(64448) = 0 THEN PS = 1: GOTO 570
530 VTAB 24: HTAB 1: PRINT "Please enter your printer slot number 1<CTRL-H>";
540 GET PS$: IF PS$ = CHR$(13) THEN PS$ = "1"
550 PS = VAL(PS$): IF PS <1 OR PS >7 GOTO 530
560 HD$ = PR$ +" Instructions": IF PR$ = "This Disk" THEN HD$ = "About /Columnist/"
570 PRINT D$"PR#"PS: PRINT D$"DOGPAW"DC$AP$"\\"HD$"; page #"
580 REM Re-display menu
590 IF PR$ = "This Disk" GOTO 30
600 GOTO 250