Home » Archimedes archive » Archimedes World » AW-1993-09.adf » AWSept93 » !AWSept93/Goodies/Basic2/!ST-INT/!RunIMage
!AWSept93/Goodies/Basic2/!ST-INT/!RunIMage
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-1993-09.adf » AWSept93 |
Filename: | !AWSept93/Goodies/Basic2/!ST-INT/!RunIMage |
Read OK: | ✔ |
File size: | 01F4 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM> !RunImage 20REM Purpose: To show values through String and Interger 30REM Author: Archimedes World 40REM Change values in lines 190,200 to get different results 50REM CopyRight: LEN Archimedes World 1993 60 70 80 90 100 PROCmode 110 REPEAT 120 PROCcalculate_Results 130 END 140 DEFPROCmode 150 MODE12:OFF:PRINTTAB(20,0)"� Archimedes World 1993" 160 ENDPROC 170 : 180 DEFPROCcalculate_Results 190 A=100:B=99.5 200 A$=STR$(A) 210 B$=STR$(B) 220 PRINTTAB(15,15)"Your Result Using A+B is"A+B 230 PRINTTAB(15,20)"Your Result Using A$+B$ is "A$+B$ 240 ENDPROC
�> !RunImage 9� Purpose: To show values through String and Interger � Author: Archimedes World (=� Change values in lines 190,200 to get different results 2(� CopyRight: � Archimedes World 1993 < F P Z d �mode n � x �calculate_Results � � � ��mode �+ �12:�:�20,0)"� Archimedes World 1993" � � � : � ��calculate_Results � A=100:B=99.5 � A$=�(A) � B$=�(B) �* �15,15)"Your Result Using A+B is"A+B �1 �15,20)"Your Result Using A$+B$ is "A$+B$ � � �
00000000 0d 00 0a 10 f4 3e 20 21 52 75 6e 49 6d 61 67 65 |.....> !RunImage| 00000010 0d 00 14 39 f4 20 50 75 72 70 6f 73 65 3a 20 54 |...9. Purpose: T| 00000020 6f 20 73 68 6f 77 20 76 61 6c 75 65 73 20 74 68 |o show values th| 00000030 72 6f 75 67 68 20 53 74 72 69 6e 67 20 61 6e 64 |rough String and| 00000040 20 49 6e 74 65 72 67 65 72 0d 00 1e 1e f4 20 41 | Interger..... A| 00000050 75 74 68 6f 72 3a 20 41 72 63 68 69 6d 65 64 65 |uthor: Archimede| 00000060 73 20 57 6f 72 6c 64 0d 00 28 3d f4 20 43 68 61 |s World..(=. Cha| 00000070 6e 67 65 20 76 61 6c 75 65 73 20 69 6e 20 6c 69 |nge values in li| 00000080 6e 65 73 20 31 39 30 2c 32 30 30 20 74 6f 20 67 |nes 190,200 to g| 00000090 65 74 20 64 69 66 66 65 72 65 6e 74 20 72 65 73 |et different res| 000000a0 75 6c 74 73 0d 00 32 28 f4 20 43 6f 70 79 52 69 |ults..2(. CopyRi| 000000b0 67 68 74 3a 20 a9 20 41 72 63 68 69 6d 65 64 65 |ght: . Archimede| 000000c0 73 20 57 6f 72 6c 64 20 31 39 39 33 0d 00 3c 05 |s World 1993..<.| 000000d0 20 0d 00 46 05 20 0d 00 50 05 20 0d 00 5a 05 20 | ..F. ..P. ..Z. | 000000e0 0d 00 64 0a 20 f2 6d 6f 64 65 0d 00 6e 06 20 f5 |..d. .mode..n. .| 000000f0 0d 00 78 17 20 f2 63 61 6c 63 75 6c 61 74 65 5f |..x. .calculate_| 00000100 52 65 73 75 6c 74 73 0d 00 82 07 20 20 e0 0d 00 |Results.... ...| 00000110 8c 0b 20 dd f2 6d 6f 64 65 0d 00 96 2b 20 eb 31 |.. ..mode...+ .1| 00000120 32 3a 87 3a f1 8a 32 30 2c 30 29 22 a9 20 41 72 |2:.:..20,0)". Ar| 00000130 63 68 69 6d 65 64 65 73 20 57 6f 72 6c 64 20 31 |chimedes World 1| 00000140 39 39 33 22 0d 00 a0 06 20 e1 0d 00 aa 06 20 3a |993".... ..... :| 00000150 0d 00 b4 18 20 dd f2 63 61 6c 63 75 6c 61 74 65 |.... ..calculate| 00000160 5f 52 65 73 75 6c 74 73 0d 00 be 11 20 41 3d 31 |_Results.... A=1| 00000170 30 30 3a 42 3d 39 39 2e 35 0d 00 c8 0c 20 41 24 |00:B=99.5.... A$| 00000180 3d c3 28 41 29 0d 00 d2 0c 20 42 24 3d c3 28 42 |=.(A).... B$=.(B| 00000190 29 0d 00 dc 2a 20 f1 8a 31 35 2c 31 35 29 22 59 |)...* ..15,15)"Y| 000001a0 6f 75 72 20 52 65 73 75 6c 74 20 55 73 69 6e 67 |our Result Using| 000001b0 20 41 2b 42 20 69 73 22 41 2b 42 0d 00 e6 31 20 | A+B is"A+B...1 | 000001c0 f1 8a 31 35 2c 32 30 29 22 59 6f 75 72 20 52 65 |..15,20)"Your Re| 000001d0 73 75 6c 74 20 55 73 69 6e 67 20 41 24 2b 42 24 |sult Using A$+B$| 000001e0 20 69 73 20 20 20 22 41 24 2b 42 24 0d 00 f0 06 | is "A$+B$....| 000001f0 20 e1 0d ff | ...| 000001f4