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

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

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/Ex_5_15
Read OK:
File size: 00BE bytes
Load address: 0000
Exec address: 0000
File contents
 �Width(10)
 FOR y=1 TO 4 
  CASE y OF
   WHEN 1 : �RoundCaps(1)
   WHEN 2 : �SquareCaps(1)
   WHEN 3 : �ButtCaps(1)
   WHEN 4 : �TriangleCaps(1,2,2)
  ENDCASE
   �HLine(1,y,2)
   NEXT
�Quit
00000000  20 a0 57 69 64 74 68 28  31 30 29 0a 20 46 4f 52  | .Width(10). FOR|
00000010  20 79 3d 31 20 54 4f 20  34 20 0a 20 20 43 41 53  | y=1 TO 4 .  CAS|
00000020  45 20 79 20 4f 46 0a 20  20 20 57 48 45 4e 20 31  |E y OF.   WHEN 1|
00000030  20 3a 20 a0 52 6f 75 6e  64 43 61 70 73 28 31 29  | : .RoundCaps(1)|
00000040  0a 20 20 20 57 48 45 4e  20 32 20 3a 20 a0 53 71  |.   WHEN 2 : .Sq|
00000050  75 61 72 65 43 61 70 73  28 31 29 0a 20 20 20 57  |uareCaps(1).   W|
00000060  48 45 4e 20 33 20 3a 20  a0 42 75 74 74 43 61 70  |HEN 3 : .ButtCap|
00000070  73 28 31 29 0a 20 20 20  57 48 45 4e 20 34 20 3a  |s(1).   WHEN 4 :|
00000080  20 a0 54 72 69 61 6e 67  6c 65 43 61 70 73 28 31  | .TriangleCaps(1|
00000090  2c 32 2c 32 29 0a 20 20  45 4e 44 43 41 53 45 0a  |,2,2).  ENDCASE.|
000000a0  20 20 20 a0 48 4c 69 6e  65 28 31 2c 79 2c 32 29  |   .HLine(1,y,2)|
000000b0  0a 20 20 20 4e 45 58 54  0a a0 51 75 69 74        |.   NEXT..Quit|
000000be