Home » Archimedes archive » Archimedes World » AW-1995-03-Disc1.adf » Disk1Mar95 » !AWMar95/Goodies/DrawBasic/Transforms/Example_C

!AWMar95/Goodies/DrawBasic/Transforms/Example_C

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-03-Disc1.adf » Disk1Mar95
Filename: !AWMar95/Goodies/DrawBasic/Transforms/Example_C
Read OK:
File size: 0082 bytes
Load address: 0000
Exec address: 0000
File contents
DIM A(1,1),b(1)

 REM Matrix A()
     A()=1,1,0,1  
     b()=1
 
object=�Square(1,1,1)
new_object=�Transform(object,A(),b())
�Quit
00000000  44 49 4d 20 41 28 31 2c  31 29 2c 62 28 31 29 0a  |DIM A(1,1),b(1).|
00000010  0a 20 52 45 4d 20 4d 61  74 72 69 78 20 41 28 29  |. REM Matrix A()|
00000020  0a 20 20 20 20 20 41 28  29 3d 31 2c 31 2c 30 2c  |.     A()=1,1,0,|
00000030  31 20 20 0a 20 20 20 20  20 62 28 29 3d 31 0a 20  |1  .     b()=1. |
00000040  0a 6f 62 6a 65 63 74 3d  bb 53 71 75 61 72 65 28  |.object=.Square(|
00000050  31 2c 31 2c 31 29 0a 6e  65 77 5f 6f 62 6a 65 63  |1,1,1).new_objec|
00000060  74 3d bb 54 72 61 6e 73  66 6f 72 6d 28 6f 62 6a  |t=.Transform(obj|
00000070  65 63 74 2c 41 28 29 2c  62 28 29 29 0a a0 51 75  |ect,A(),b())..Qu|
00000080  69 74                                             |it|
00000082