Home » Archimedes archive » Archimedes World » AW-1995-01-Disc1.adf » Disk1Jan95 » !AWJan95/Goodies/DrawBasic/January95/Example_6

!AWJan95/Goodies/DrawBasic/January95/Example_6

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-1995-01-Disc1.adf » Disk1Jan95
Filename: !AWJan95/Goodies/DrawBasic/January95/Example_6
Read OK:
File size: 0099 bytes
Load address: 0000
Exec address: 0000
File contents
REM > Draws a square
    �PathBegin(square)
     �Move(1,1)
     �Draw(3,1)
     �Draw(3,3)
     �Draw(1,3)
     �CloseWithLine
     �PathEnd      
�Quit
00000000  52 45 4d 20 3e 20 44 72  61 77 73 20 61 20 73 71  |REM > Draws a sq|
00000010  75 61 72 65 0a 20 20 20  20 a0 50 61 74 68 42 65  |uare.    .PathBe|
00000020  67 69 6e 28 73 71 75 61  72 65 29 0a 20 20 20 20  |gin(square).    |
00000030  20 a0 4d 6f 76 65 28 31  2c 31 29 0a 20 20 20 20  | .Move(1,1).    |
00000040  20 a0 44 72 61 77 28 33  2c 31 29 0a 20 20 20 20  | .Draw(3,1).    |
00000050  20 a0 44 72 61 77 28 33  2c 33 29 0a 20 20 20 20  | .Draw(3,3).    |
00000060  20 a0 44 72 61 77 28 31  2c 33 29 0a 20 20 20 20  | .Draw(1,3).    |
00000070  20 a0 43 6c 6f 73 65 57  69 74 68 4c 69 6e 65 0a  | .CloseWithLine.|
00000080  20 20 20 20 20 a0 50 61  74 68 45 6e 64 20 20 20  |     .PathEnd   |
00000090  20 20 20 0a a0 51 75 69  74                       |   ..Quit|
00000099