home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib35a.dsk
/
DECEMBER.1988
/
MAKE.DEMO.LIST.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
600b
|
25 lines
10 REM *
20 REM * MAKE.DEMO.LIST
30 REM * BY CHESTER PAGE
40 REM * COPYRIGHT(C) 1988
50 REM * MICROSPARC, INC.
60 REM * CONCORD, MA 01742
70 REM *
75 ONERR GOTO 220
80 D$ = CHR$(4)
90 PRINT D$"OPEN DEMO.LIST"
100 PRINT D$"WRITE DEMO.LIST"
110 FOR REC = 1 TO 50
120 PRINT "*";
125 PRINT REC;REC;REC
130 FOR FIELD = 1 TO 4
140 FOR I = 1 TO 7
150 PRINT CHR$( RND(1) *26 +65);
160 NEXT I
170 PRINT : NEXT FIELD
180 PRINT : NEXT REC
190 PRINT "*";
200 PRINT D$"CLOSE"
210 END
220 HOME : VTAB 23: PRINT "ERROR "; PEEK(222);" IN LINE "; PEEK(218) +256 * PEEK(219)
230 END