Home » Archimedes archive » Archimedes World » AW-1993-11.adf » AWNov93 » !AWNov93/Goodies/RISC_OS/!Variables/Variables/Set
!AWNov93/Goodies/RISC_OS/!Variables/Variables/Set
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-11.adf » AWNov93 |
Filename: | !AWNov93/Goodies/RISC_OS/!Variables/Variables/Set |
Read OK: | ✔ |
File size: | 0214 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Echo Help Set Echo Echo ========================================================== Echo References: Echo Echo 1. "User Guide" (RISCOS 3) pages 193 Echo 2. "Programmers Reference Manual" (RISCOS 3) page 1-325 Echo Echo ========================================================== Echo Echo Example 1 *Set Fred 1 Echo --------- Echo This sets Fred to the string variable 1 Echo Echo Echo Example 2 *Set Fred |<Jim|> Echo --------- Echo This sets Fred to the value of the variable Jim (converted to a string) Echo
00000000 45 63 68 6f 0a 48 65 6c 70 20 53 65 74 0a 45 63 |Echo.Help Set.Ec| 00000010 68 6f 0a 45 63 68 6f 20 3d 3d 3d 3d 3d 3d 3d 3d |ho.Echo ========| 00000020 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000050 3d 3d 0a 45 63 68 6f 20 20 52 65 66 65 72 65 6e |==.Echo Referen| 00000060 63 65 73 3a 0a 45 63 68 6f 0a 45 63 68 6f 20 20 |ces:.Echo.Echo | 00000070 31 2e 20 20 22 55 73 65 72 20 47 75 69 64 65 22 |1. "User Guide"| 00000080 20 28 52 49 53 43 4f 53 20 33 29 20 20 20 70 61 | (RISCOS 3) pa| 00000090 67 65 73 20 31 39 33 0a 45 63 68 6f 20 20 32 2e |ges 193.Echo 2.| 000000a0 20 20 22 50 72 6f 67 72 61 6d 6d 65 72 73 20 52 | "Programmers R| 000000b0 65 66 65 72 65 6e 63 65 20 4d 61 6e 75 61 6c 22 |eference Manual"| 000000c0 20 28 52 49 53 43 4f 53 20 33 29 20 70 61 67 65 | (RISCOS 3) page| 000000d0 20 31 2d 33 32 35 0a 45 63 68 6f 0a 45 63 68 6f | 1-325.Echo.Echo| 000000e0 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d | ===============| 000000f0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000110 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 45 63 68 6f |===========.Echo| 00000120 0a 45 63 68 6f 20 45 78 61 6d 70 6c 65 20 31 20 |.Echo Example 1 | 00000130 20 20 20 20 2a 53 65 74 20 46 72 65 64 20 31 20 | *Set Fred 1 | 00000140 20 20 0a 45 63 68 6f 20 2d 2d 2d 2d 2d 2d 2d 2d | .Echo --------| 00000150 2d 0a 45 63 68 6f 20 54 68 69 73 20 73 65 74 73 |-.Echo This sets| 00000160 20 46 72 65 64 20 74 6f 20 74 68 65 20 73 74 72 | Fred to the str| 00000170 69 6e 67 20 76 61 72 69 61 62 6c 65 20 31 0a 45 |ing variable 1.E| 00000180 63 68 6f 20 0a 45 63 68 6f 0a 45 63 68 6f 20 45 |cho .Echo.Echo E| 00000190 78 61 6d 70 6c 65 20 32 20 20 20 20 20 2a 53 65 |xample 2 *Se| 000001a0 74 20 46 72 65 64 20 7c 3c 4a 69 6d 7c 3e 20 20 |t Fred |<Jim|> | 000001b0 20 0a 45 63 68 6f 20 2d 2d 2d 2d 2d 2d 2d 2d 2d | .Echo ---------| 000001c0 0a 45 63 68 6f 20 54 68 69 73 20 73 65 74 73 20 |.Echo This sets | 000001d0 46 72 65 64 20 74 6f 20 74 68 65 20 76 61 6c 75 |Fred to the valu| 000001e0 65 20 6f 66 20 74 68 65 20 76 61 72 69 61 62 6c |e of the variabl| 000001f0 65 20 4a 69 6d 20 28 63 6f 6e 76 65 72 74 65 64 |e Jim (converted| 00000200 20 74 6f 20 61 20 73 74 72 69 6e 67 29 0a 45 63 | to a string).Ec| 00000210 68 6f 20 0a |ho .| 00000214