Home » Archimedes archive » Acorn User » AU 1998-10.adf » Features » DesktopPD/WimpBar2/!WimpBar2/Macros/Time
DesktopPD/WimpBar2/!WimpBar2/Macros/Time
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 » Acorn User » AU 1998-10.adf » Features |
Filename: | DesktopPD/WimpBar2/!WimpBar2/Macros/Time |
Read OK: | ✔ |
File size: | 0198 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Echo The time is <Sys$Time>. Echo Echo Why didn't you just look at the time/memory icon? Echo Echo As you've probably worked out, macros are meant to be Echo just slightly more useful than this. For an example, Echo look at the AddSprite macro. This is intended to be Echo used as an alternative to *IconSprites. It can be Echo used when you drag a sprite file to the toolbar. Echo (See manual for details)
00000000 45 63 68 6f 20 54 68 65 20 74 69 6d 65 20 69 73 |Echo The time is| 00000010 20 3c 53 79 73 24 54 69 6d 65 3e 2e 0a 45 63 68 | <Sys$Time>..Ech| 00000020 6f 20 0a 45 63 68 6f 20 57 68 79 20 64 69 64 6e |o .Echo Why didn| 00000030 27 74 20 79 6f 75 20 6a 75 73 74 20 6c 6f 6f 6b |'t you just look| 00000040 20 61 74 20 74 68 65 20 74 69 6d 65 2f 6d 65 6d | at the time/mem| 00000050 6f 72 79 20 69 63 6f 6e 3f 0a 45 63 68 6f 20 0a |ory icon?.Echo .| 00000060 45 63 68 6f 20 41 73 20 79 6f 75 27 76 65 20 70 |Echo As you've p| 00000070 72 6f 62 61 62 6c 79 20 77 6f 72 6b 65 64 20 6f |robably worked o| 00000080 75 74 2c 20 6d 61 63 72 6f 73 20 61 72 65 20 6d |ut, macros are m| 00000090 65 61 6e 74 20 74 6f 20 62 65 0a 45 63 68 6f 20 |eant to be.Echo | 000000a0 6a 75 73 74 20 73 6c 69 67 68 74 6c 79 20 6d 6f |just slightly mo| 000000b0 72 65 20 75 73 65 66 75 6c 20 74 68 61 6e 20 74 |re useful than t| 000000c0 68 69 73 2e 20 46 6f 72 20 61 6e 20 65 78 61 6d |his. For an exam| 000000d0 70 6c 65 2c 0a 45 63 68 6f 20 6c 6f 6f 6b 20 61 |ple,.Echo look a| 000000e0 74 20 74 68 65 20 41 64 64 53 70 72 69 74 65 20 |t the AddSprite | 000000f0 6d 61 63 72 6f 2e 20 54 68 69 73 20 69 73 20 69 |macro. This is i| 00000100 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 0a 45 63 |ntended to be.Ec| 00000110 68 6f 20 75 73 65 64 20 61 73 20 61 6e 20 61 6c |ho used as an al| 00000120 74 65 72 6e 61 74 69 76 65 20 74 6f 20 2a 49 63 |ternative to *Ic| 00000130 6f 6e 53 70 72 69 74 65 73 2e 20 49 74 20 63 61 |onSprites. It ca| 00000140 6e 20 62 65 0a 45 63 68 6f 20 75 73 65 64 20 77 |n be.Echo used w| 00000150 68 65 6e 20 79 6f 75 20 64 72 61 67 20 61 20 73 |hen you drag a s| 00000160 70 72 69 74 65 20 66 69 6c 65 20 74 6f 20 74 68 |prite file to th| 00000170 65 20 74 6f 6f 6c 62 61 72 2e 0a 45 63 68 6f 20 |e toolbar..Echo | 00000180 28 53 65 65 20 6d 61 6e 75 61 6c 20 66 6f 72 20 |(See manual for | 00000190 64 65 74 61 69 6c 73 29 |details)| 00000198