home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib27b.dsk
/
DEMO1.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
941b
|
34 lines
1 REM **********************
2 REM * DEMO1 *
3 REM * BY J.B. WARD *
4 REM * COPYRIGHT (C) 1986 *
5 REM * BY MICROSPARC, INC *
6 REM * CONCORD, MA 01742 *
7 REM **********************
8 REM
9 REM INSTALL TURTLE BEFORE LOADING
10 <UNKNOWN TOKEN>
20 <UNKNOWN TOKEN>DEMO1...Draw a "squiral"
30 <UNKNOWN TOKEN>
40 DA = 15
50 SQUARE = 240:<UNKNOWN TOKEN> Sub.line #
60 <UNKNOWN TOKEN>
70 <UNKNOWN TOKEN>1: HGR2 1
80 HGR :<UNKNOWN TOKEN>:<UNKNOWN TOKEN>
90 <UNKNOWN TOKEN>:<UNKNOWN TOKEN>30
100 <UNKNOWN TOKEN>(100,0)"* Squiral *"
110 FOR N = 1 TO 63
120 <UNKNOWN TOKEN>SQUARE
130 A = A +1:<UNKNOWN TOKEN>DA
140 NEXT N
150 PRINT CHR$(7)
160 <UNKNOWN TOKEN>(90,180)"Press return"
170 GET X$
180 TEXT
190 END
200 <UNKNOWN TOKEN>......................
210 <UNKNOWN TOKEN>
220 <UNKNOWN TOKEN> Subroutine "SQUARE"
230 <UNKNOWN TOKEN>
240 FOR J = 1 TO 4:<UNKNOWN TOKEN>10 +A:<UNKNOWN TOKEN>90: NEXT J
250 RETURN