Home » Archimedes archive » Archimedes World » AW-1994-12-Disc1.adf » Disk1Dec94 » !AWDec94/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/Error

!AWDec94/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/Error

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1994-12-Disc1.adf » Disk1Dec94
Filename: !AWDec94/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/Error
Read OK:
File size: 00AD bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
REM Draws a spiral consisting
REM of circles

�Origin(4,4) 
 n=100 
 angle=0
 FOR i=1 To n
  r=SQR(angle)
  �Circle(r*COSangle,r*SINangle,SQRr)
  angle+=2*PI/n
  NEXT

�Quit
00000000  52 45 4d 20 44 72 61 77  73 20 61 20 73 70 69 72  |REM Draws a spir|
00000010  61 6c 20 63 6f 6e 73 69  73 74 69 6e 67 0a 52 45  |al consisting.RE|
00000020  4d 20 6f 66 20 63 69 72  63 6c 65 73 0a 0a a0 4f  |M of circles...O|
00000030  72 69 67 69 6e 28 34 2c  34 29 20 0a 20 6e 3d 31  |rigin(4,4) . n=1|
00000040  30 30 20 0a 20 61 6e 67  6c 65 3d 30 0a 20 46 4f  |00 . angle=0. FO|
00000050  52 20 69 3d 31 20 54 6f  20 6e 0a 20 20 72 3d 53  |R i=1 To n.  r=S|
00000060  51 52 28 61 6e 67 6c 65  29 0a 20 20 a0 43 69 72  |QR(angle).  .Cir|
00000070  63 6c 65 28 72 2a 43 4f  53 61 6e 67 6c 65 2c 72  |cle(r*COSangle,r|
00000080  2a 53 49 4e 61 6e 67 6c  65 2c 53 51 52 72 29 0a  |*SINangle,SQRr).|
00000090  20 20 61 6e 67 6c 65 2b  3d 32 2a 50 49 2f 6e 0a  |  angle+=2*PI/n.|
000000a0  20 20 4e 45 58 54 0a 0a  a0 51 75 69 74           |  NEXT...Quit|
000000ad