Home » Archimedes archive » Archimedes World » AW-1993-11.adf » AWNov93 » !AWNov93/Goodies/RISC_OS/!Variables/Variables/SetMacro

!AWNov93/Goodies/RISC_OS/!Variables/Variables/SetMacro

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/SetMacro
Read OK:
File size: 01AD bytes
Load address: 0000
Exec address: 0000
File contents
Echo
Help SetMacro
Echo
Echo ==========================================================
Echo  References:
Echo
Echo  1.  "User Guide" (RISCOS 3)   pages 93
Echo  2.  "Programmers Reference Manual" (RISCOS 3) page 1-328
Echo
Echo ==========================================================
Echo
Echo Example 1     SetMacro Now |<Sys$Time|>   
Echo ---------
Echo This expression is GS_Trans'd each time the variable is used
Echo 

00000000  45 63 68 6f 0a 48 65 6c  70 20 53 65 74 4d 61 63  |Echo.Help SetMac|
00000010  72 6f 0a 45 63 68 6f 0a  45 63 68 6f 20 3d 3d 3d  |ro.Echo.Echo ===|
00000020  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000050  3d 3d 3d 3d 3d 3d 3d 0a  45 63 68 6f 20 20 52 65  |=======.Echo  Re|
00000060  66 65 72 65 6e 63 65 73  3a 0a 45 63 68 6f 0a 45  |ferences:.Echo.E|
00000070  63 68 6f 20 20 31 2e 20  20 22 55 73 65 72 20 47  |cho  1.  "User G|
00000080  75 69 64 65 22 20 28 52  49 53 43 4f 53 20 33 29  |uide" (RISCOS 3)|
00000090  20 20 20 70 61 67 65 73  20 39 33 0a 45 63 68 6f  |   pages 93.Echo|
000000a0  20 20 32 2e 20 20 22 50  72 6f 67 72 61 6d 6d 65  |  2.  "Programme|
000000b0  72 73 20 52 65 66 65 72  65 6e 63 65 20 4d 61 6e  |rs Reference Man|
000000c0  75 61 6c 22 20 28 52 49  53 43 4f 53 20 33 29 20  |ual" (RISCOS 3) |
000000d0  70 61 67 65 20 31 2d 33  32 38 0a 45 63 68 6f 0a  |page 1-328.Echo.|
000000e0  45 63 68 6f 20 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |Echo ===========|
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 3d 3d 3d 3d 0a  |===============.|
00000120  45 63 68 6f 0a 45 63 68  6f 20 45 78 61 6d 70 6c  |Echo.Echo Exampl|
00000130  65 20 31 20 20 20 20 20  53 65 74 4d 61 63 72 6f  |e 1     SetMacro|
00000140  20 4e 6f 77 20 7c 3c 53  79 73 24 54 69 6d 65 7c  | Now |<Sys$Time||
00000150  3e 20 20 20 0a 45 63 68  6f 20 2d 2d 2d 2d 2d 2d  |>   .Echo ------|
00000160  2d 2d 2d 0a 45 63 68 6f  20 54 68 69 73 20 65 78  |---.Echo This ex|
00000170  70 72 65 73 73 69 6f 6e  20 69 73 20 47 53 5f 54  |pression is GS_T|
00000180  72 61 6e 73 27 64 20 65  61 63 68 20 74 69 6d 65  |rans'd each time|
00000190  20 74 68 65 20 76 61 72  69 61 62 6c 65 20 69 73  | the variable is|
000001a0  20 75 73 65 64 0a 45 63  68 6f 20 0a 0a           | used.Echo ..|
000001ad