Home » Archimedes archive » Archimedes World » AW-1995-05-Disc1.adf » AWMay95_1 » InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/Ex_5_15b

InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/Ex_5_15b

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-05-Disc1.adf » AWMay95_1
Filename: InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/Ex_5_15b
Read OK:
File size: 00CB bytes
Load address: 0000
Exec address: 0000
File contents
 �Width(10)
 FOR y=1 TO 4
  f=�HLine(1,y,2)
  CASE y OF
   WHEN 1 : �RoundCaps@(f,1)
   WHEN 2 : �SquareCaps@(f,1)
   WHEN 3 : �ButtCaps@(f,1)
   WHEN 4 : �TriangleCaps@(f,1,2,2)
  ENDCASE  
  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 0a 20 20 66 3d bb 48  | y=1 TO 4.  f=.H|
00000020  4c 69 6e 65 28 31 2c 79  2c 32 29 0a 20 20 43 41  |Line(1,y,2).  CA|
00000030  53 45 20 79 20 4f 46 0a  20 20 20 57 48 45 4e 20  |SE y OF.   WHEN |
00000040  31 20 3a 20 a0 52 6f 75  6e 64 43 61 70 73 40 28  |1 : .RoundCaps@(|
00000050  66 2c 31 29 0a 20 20 20  57 48 45 4e 20 32 20 3a  |f,1).   WHEN 2 :|
00000060  20 a0 53 71 75 61 72 65  43 61 70 73 40 28 66 2c  | .SquareCaps@(f,|
00000070  31 29 0a 20 20 20 57 48  45 4e 20 33 20 3a 20 a0  |1).   WHEN 3 : .|
00000080  42 75 74 74 43 61 70 73  40 28 66 2c 31 29 0a 20  |ButtCaps@(f,1). |
00000090  20 20 57 48 45 4e 20 34  20 3a 20 a0 54 72 69 61  |  WHEN 4 : .Tria|
000000a0  6e 67 6c 65 43 61 70 73  40 28 66 2c 31 2c 32 2c  |ngleCaps@(f,1,2,|
000000b0  32 29 0a 20 20 45 4e 44  43 41 53 45 20 20 0a 20  |2).  ENDCASE  . |
000000c0  20 4e 45 58 54 0a a0 51  75 69 74                 | NEXT..Quit|
000000cb