home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG020.ARC
/
CLEAR.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
2KB
|
53 lines
CLEARING THE SCREEN
AR┼á YO╒ LOOKIN╟ FO╥ ┴ SCREE╬ CLEARIN╟ ROUTIN┼ THA╘ WIL╠á SMARTE╬ ì
U╨á YOU╥á BASI├ PROGRAMS┐á ╔ SA╫ THES┼ ROUTINE╙ I╬ ONLIN┼á AN─á ╔ ì
THOUGH╘á THA╘á I╞ YO╒ COUL─ SE┼ THE═ AL╠ TOGETHE╥ YO╒ WIL╠ GE╘á ┴ ì
BETTE╥ IDEA«á SIMPL┘ TYP┼ I╬ TH┼ PROGRA═ A╙ WRITTE╬ AN─ THE╬ TYP┼ ì
RUN«á I╞á THER┼ I╙ ┴ ROUTIN┼ THA╘ YO╒ LIK┼ THE╬ JUS╘ TYP┼ I╬á TH┼ ì
ROUTIN┼ BETWEE╬ TH┼ REM'╙ I╬ YOU╥ OW╬ PROGRA═ I╬ PLAC┼ O╞ TH┼ CL╙ ì
COMMAND AND YO╒ WIL╠ B┼á I╬ BUSINESS. BEST OF LUCK
REGARDS MALCOLM OSBORNE
00100 REM THIS IS A COLLECTION OF SCREEN CLEARING ROUTINES
00110 REM BY MALCOLM OSBORNE BASED ON THE IDEAS OF C TRINGHAM
00120 CLS:PRINT"PLEASE INDICATE WHICH ROUTINE YOU WOULD LIKE TO SEE"
00130 CURS 1,2:PRINT"(1) SIDE WIPE"
00140 CURS 1,3:PRINT"(2) SIDE WIPE [2]"
00150 CURS 1,4:PRINT"(3) CENTER WIPE"
00160 CURS 1,5:PRINT"(4) ROTATING WIPE"
00170 CURS 1,6:PRINT"(5) COMBINATION WIPE"
00180 A1$=KEY:IF A1$="" THEN 180
00190 N=ASC(A1$):LET N=N-48:IF N<0 OR N>5 THEN 180 ELSE GOTO240
00200 CLS:REM THIS FILLS THE SCREEN
00210 FOR X=1 TO 40
00220 PRINT"This is demonstration text ";
00230 NEXT X:LORES:RETURN
00240 ON N GOTO 390,440,330,250,250
00250 REM ROTATING WIPE
00260 GOSUB 200:FOR X=0 TO 127
00270 PLOT 0,0 TO X,47
00280 NEXT X
00290 FOR X=47 TO 0 STEP -1
00300 PLOT 0,0 TO 127,X
00310 NEXT X
00320 IF N<>5 THEN GOTO 480 ELSE 350
00330 REM CENTER WIPE
00340 GOSUB 200
00350 FOR X=1 TO 64
00360 PLOTR 63+X,0 TO 63+X,47:PLOTR 64-X,0 TO 64-X,47
00370 NEXT X
00380 GOTO 480
00390 REM SIDE WIPE
00400 GOSUB 200:FOR X=1 TO 127
00410 PLOTR X,1 TO X,47
00420 NEXT X
00430 GOTO 480
00440 REM SIDE WIPE [2]
00450 GOSUB 200:FOR X=127 TO 1 STEP -1
00460 PLOTR X,1 TO X,47
00470 NEXT X
00480 CURS 1,16:PRINT"would you like to see another one?"
00490 A1$=KEY:IF A1$="" THEN 490
00500 IF A1$="Y" OR A1$="y" THEN RUN