Home » Archimedes archive » Acorn User » AU 1998-03 B.adf » StarInfo » Rawle/!Counter/!Help

Rawle/!Counter/!Help

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-03 B.adf » StarInfo
Filename: Rawle/!Counter/!Help
Read OK:
File size: 07EF bytes
Load address: 0000
Exec address: 0000
File contents
Counter
� Jonathan Rawle 1997

Counter can count the time until an important event, such as the millennium,
or the time after an event, such as your birthday. It can count in several
different units, ranging from seconds to years.

Double click on the !Counter icon to start the program. By default, it
counts down in seconds to the millennium. To change this click the middle
button over the window and select Setup...

1. Enter the time (24 hour clock) and date of the event, and whether you
want the count in seconds, minutes, hours, days or years
2. Next select if you want to count down to the event, or count the time
since the event happened
3. Enter a descriptive piece of text to appear in the window, for example
"Seconds until the millennium"
4. Click on OK

If you click OK with the adjust (right) mouse button, the setup window
remains open. This allows you to try different settings without having to
re-open the window each time.

If you select 'Save setup' from the menu, the current details from the setup
window are saved to disc, so that they will already be set next time the
program is started. The position of the window is also saved.

Of course, the program is only a accurate as your computer's clock. Use the
Alarm program supplied with the computer to set this clock.

Counter can count to or from ANY date of the common era (CE/AD) in the
Gregorian calendar, and is NOT restricted to the usual 1900-2248 year range.


Examples
--------

Description                        Time  Date               Units    Count

Seconds until the 21st century     00:00 1st January 2000   Seconds  Until
Your age in seconds                (Time and date of birth) Seconds  After
Days until Christmas               00:00 25th December 1997 Days     Until
Minutes until lunch                12:00 (Today's date)     Minutes  Until
Hours under the current government 06:00 1st May 1997       Hours    After
Age of this !Help file             11:25 1st September 1997 Years    After




Jonathan L Rawle
1st September 1997
00000000  43 6f 75 6e 74 65 72 0a  a9 20 4a 6f 6e 61 74 68  |Counter.. Jonath|
00000010  61 6e 20 52 61 77 6c 65  20 31 39 39 37 0a 0a 43  |an Rawle 1997..C|
00000020  6f 75 6e 74 65 72 20 63  61 6e 20 63 6f 75 6e 74  |ounter can count|
00000030  20 74 68 65 20 74 69 6d  65 20 75 6e 74 69 6c 20  | the time until |
00000040  61 6e 20 69 6d 70 6f 72  74 61 6e 74 20 65 76 65  |an important eve|
00000050  6e 74 2c 20 73 75 63 68  20 61 73 20 74 68 65 20  |nt, such as the |
00000060  6d 69 6c 6c 65 6e 6e 69  75 6d 2c 0a 6f 72 20 74  |millennium,.or t|
00000070  68 65 20 74 69 6d 65 20  61 66 74 65 72 20 61 6e  |he time after an|
00000080  20 65 76 65 6e 74 2c 20  73 75 63 68 20 61 73 20  | event, such as |
00000090  79 6f 75 72 20 62 69 72  74 68 64 61 79 2e 20 49  |your birthday. I|
000000a0  74 20 63 61 6e 20 63 6f  75 6e 74 20 69 6e 20 73  |t can count in s|
000000b0  65 76 65 72 61 6c 0a 64  69 66 66 65 72 65 6e 74  |everal.different|
000000c0  20 75 6e 69 74 73 2c 20  72 61 6e 67 69 6e 67 20  | units, ranging |
000000d0  66 72 6f 6d 20 73 65 63  6f 6e 64 73 20 74 6f 20  |from seconds to |
000000e0  79 65 61 72 73 2e 0a 0a  44 6f 75 62 6c 65 20 63  |years...Double c|
000000f0  6c 69 63 6b 20 6f 6e 20  74 68 65 20 21 43 6f 75  |lick on the !Cou|
00000100  6e 74 65 72 20 69 63 6f  6e 20 74 6f 20 73 74 61  |nter icon to sta|
00000110  72 74 20 74 68 65 20 70  72 6f 67 72 61 6d 2e 20  |rt the program. |
00000120  42 79 20 64 65 66 61 75  6c 74 2c 20 69 74 0a 63  |By default, it.c|
00000130  6f 75 6e 74 73 20 64 6f  77 6e 20 69 6e 20 73 65  |ounts down in se|
00000140  63 6f 6e 64 73 20 74 6f  20 74 68 65 20 6d 69 6c  |conds to the mil|
00000150  6c 65 6e 6e 69 75 6d 2e  20 54 6f 20 63 68 61 6e  |lennium. To chan|
00000160  67 65 20 74 68 69 73 20  63 6c 69 63 6b 20 74 68  |ge this click th|
00000170  65 20 6d 69 64 64 6c 65  0a 62 75 74 74 6f 6e 20  |e middle.button |
00000180  6f 76 65 72 20 74 68 65  20 77 69 6e 64 6f 77 20  |over the window |
00000190  61 6e 64 20 73 65 6c 65  63 74 20 53 65 74 75 70  |and select Setup|
000001a0  2e 2e 2e 0a 0a 31 2e 20  45 6e 74 65 72 20 74 68  |.....1. Enter th|
000001b0  65 20 74 69 6d 65 20 28  32 34 20 68 6f 75 72 20  |e time (24 hour |
000001c0  63 6c 6f 63 6b 29 20 61  6e 64 20 64 61 74 65 20  |clock) and date |
000001d0  6f 66 20 74 68 65 20 65  76 65 6e 74 2c 20 61 6e  |of the event, an|
000001e0  64 20 77 68 65 74 68 65  72 20 79 6f 75 0a 77 61  |d whether you.wa|
000001f0  6e 74 20 74 68 65 20 63  6f 75 6e 74 20 69 6e 20  |nt the count in |
00000200  73 65 63 6f 6e 64 73 2c  20 6d 69 6e 75 74 65 73  |seconds, minutes|
00000210  2c 20 68 6f 75 72 73 2c  20 64 61 79 73 20 6f 72  |, hours, days or|
00000220  20 79 65 61 72 73 0a 32  2e 20 4e 65 78 74 20 73  | years.2. Next s|
00000230  65 6c 65 63 74 20 69 66  20 79 6f 75 20 77 61 6e  |elect if you wan|
00000240  74 20 74 6f 20 63 6f 75  6e 74 20 64 6f 77 6e 20  |t to count down |
00000250  74 6f 20 74 68 65 20 65  76 65 6e 74 2c 20 6f 72  |to the event, or|
00000260  20 63 6f 75 6e 74 20 74  68 65 20 74 69 6d 65 0a  | count the time.|
00000270  73 69 6e 63 65 20 74 68  65 20 65 76 65 6e 74 20  |since the event |
00000280  68 61 70 70 65 6e 65 64  0a 33 2e 20 45 6e 74 65  |happened.3. Ente|
00000290  72 20 61 20 64 65 73 63  72 69 70 74 69 76 65 20  |r a descriptive |
000002a0  70 69 65 63 65 20 6f 66  20 74 65 78 74 20 74 6f  |piece of text to|
000002b0  20 61 70 70 65 61 72 20  69 6e 20 74 68 65 20 77  | appear in the w|
000002c0  69 6e 64 6f 77 2c 20 66  6f 72 20 65 78 61 6d 70  |indow, for examp|
000002d0  6c 65 0a 22 53 65 63 6f  6e 64 73 20 75 6e 74 69  |le."Seconds unti|
000002e0  6c 20 74 68 65 20 6d 69  6c 6c 65 6e 6e 69 75 6d  |l the millennium|
000002f0  22 0a 34 2e 20 43 6c 69  63 6b 20 6f 6e 20 4f 4b  |".4. Click on OK|
00000300  0a 0a 49 66 20 79 6f 75  20 63 6c 69 63 6b 20 4f  |..If you click O|
00000310  4b 20 77 69 74 68 20 74  68 65 20 61 64 6a 75 73  |K with the adjus|
00000320  74 20 28 72 69 67 68 74  29 20 6d 6f 75 73 65 20  |t (right) mouse |
00000330  62 75 74 74 6f 6e 2c 20  74 68 65 20 73 65 74 75  |button, the setu|
00000340  70 20 77 69 6e 64 6f 77  0a 72 65 6d 61 69 6e 73  |p window.remains|
00000350  20 6f 70 65 6e 2e 20 54  68 69 73 20 61 6c 6c 6f  | open. This allo|
00000360  77 73 20 79 6f 75 20 74  6f 20 74 72 79 20 64 69  |ws you to try di|
00000370  66 66 65 72 65 6e 74 20  73 65 74 74 69 6e 67 73  |fferent settings|
00000380  20 77 69 74 68 6f 75 74  20 68 61 76 69 6e 67 20  | without having |
00000390  74 6f 0a 72 65 2d 6f 70  65 6e 20 74 68 65 20 77  |to.re-open the w|
000003a0  69 6e 64 6f 77 20 65 61  63 68 20 74 69 6d 65 2e  |indow each time.|
000003b0  0a 0a 49 66 20 79 6f 75  20 73 65 6c 65 63 74 20  |..If you select |
000003c0  27 53 61 76 65 20 73 65  74 75 70 27 20 66 72 6f  |'Save setup' fro|
000003d0  6d 20 74 68 65 20 6d 65  6e 75 2c 20 74 68 65 20  |m the menu, the |
000003e0  63 75 72 72 65 6e 74 20  64 65 74 61 69 6c 73 20  |current details |
000003f0  66 72 6f 6d 20 74 68 65  20 73 65 74 75 70 0a 77  |from the setup.w|
00000400  69 6e 64 6f 77 20 61 72  65 20 73 61 76 65 64 20  |indow are saved |
00000410  74 6f 20 64 69 73 63 2c  20 73 6f 20 74 68 61 74  |to disc, so that|
00000420  20 74 68 65 79 20 77 69  6c 6c 20 61 6c 72 65 61  | they will alrea|
00000430  64 79 20 62 65 20 73 65  74 20 6e 65 78 74 20 74  |dy be set next t|
00000440  69 6d 65 20 74 68 65 0a  70 72 6f 67 72 61 6d 20  |ime the.program |
00000450  69 73 20 73 74 61 72 74  65 64 2e 20 54 68 65 20  |is started. The |
00000460  70 6f 73 69 74 69 6f 6e  20 6f 66 20 74 68 65 20  |position of the |
00000470  77 69 6e 64 6f 77 20 69  73 20 61 6c 73 6f 20 73  |window is also s|
00000480  61 76 65 64 2e 0a 0a 4f  66 20 63 6f 75 72 73 65  |aved...Of course|
00000490  2c 20 74 68 65 20 70 72  6f 67 72 61 6d 20 69 73  |, the program is|
000004a0  20 6f 6e 6c 79 20 61 20  61 63 63 75 72 61 74 65  | only a accurate|
000004b0  20 61 73 20 79 6f 75 72  20 63 6f 6d 70 75 74 65  | as your compute|
000004c0  72 27 73 20 63 6c 6f 63  6b 2e 20 55 73 65 20 74  |r's clock. Use t|
000004d0  68 65 0a 41 6c 61 72 6d  20 70 72 6f 67 72 61 6d  |he.Alarm program|
000004e0  20 73 75 70 70 6c 69 65  64 20 77 69 74 68 20 74  | supplied with t|
000004f0  68 65 20 63 6f 6d 70 75  74 65 72 20 74 6f 20 73  |he computer to s|
00000500  65 74 20 74 68 69 73 20  63 6c 6f 63 6b 2e 0a 0a  |et this clock...|
00000510  43 6f 75 6e 74 65 72 20  63 61 6e 20 63 6f 75 6e  |Counter can coun|
00000520  74 20 74 6f 20 6f 72 20  66 72 6f 6d 20 41 4e 59  |t to or from ANY|
00000530  20 64 61 74 65 20 6f 66  20 74 68 65 20 63 6f 6d  | date of the com|
00000540  6d 6f 6e 20 65 72 61 20  28 43 45 2f 41 44 29 20  |mon era (CE/AD) |
00000550  69 6e 20 74 68 65 0a 47  72 65 67 6f 72 69 61 6e  |in the.Gregorian|
00000560  20 63 61 6c 65 6e 64 61  72 2c 20 61 6e 64 20 69  | calendar, and i|
00000570  73 20 4e 4f 54 20 72 65  73 74 72 69 63 74 65 64  |s NOT restricted|
00000580  20 74 6f 20 74 68 65 20  75 73 75 61 6c 20 31 39  | to the usual 19|
00000590  30 30 2d 32 32 34 38 20  79 65 61 72 20 72 61 6e  |00-2248 year ran|
000005a0  67 65 2e 0a 0a 0a 45 78  61 6d 70 6c 65 73 0a 2d  |ge....Examples.-|
000005b0  2d 2d 2d 2d 2d 2d 2d 0a  0a 44 65 73 63 72 69 70  |-------..Descrip|
000005c0  74 69 6f 6e 20 20 20 20  20 20 20 20 20 20 20 20  |tion            |
000005d0  20 20 20 20 20 20 20 20  20 20 20 20 54 69 6d 65  |            Time|
000005e0  20 20 44 61 74 65 20 20  20 20 20 20 20 20 20 20  |  Date          |
000005f0  20 20 20 20 20 55 6e 69  74 73 20 20 20 20 43 6f  |     Units    Co|
00000600  75 6e 74 0a 0a 53 65 63  6f 6e 64 73 20 75 6e 74  |unt..Seconds unt|
00000610  69 6c 20 74 68 65 20 32  31 73 74 20 63 65 6e 74  |il the 21st cent|
00000620  75 72 79 20 20 20 20 20  30 30 3a 30 30 20 31 73  |ury     00:00 1s|
00000630  74 20 4a 61 6e 75 61 72  79 20 32 30 30 30 20 20  |t January 2000  |
00000640  20 53 65 63 6f 6e 64 73  20 20 55 6e 74 69 6c 0a  | Seconds  Until.|
00000650  59 6f 75 72 20 61 67 65  20 69 6e 20 73 65 63 6f  |Your age in seco|
00000660  6e 64 73 20 20 20 20 20  20 20 20 20 20 20 20 20  |nds             |
00000670  20 20 20 28 54 69 6d 65  20 61 6e 64 20 64 61 74  |   (Time and dat|
00000680  65 20 6f 66 20 62 69 72  74 68 29 20 53 65 63 6f  |e of birth) Seco|
00000690  6e 64 73 20 20 41 66 74  65 72 0a 44 61 79 73 20  |nds  After.Days |
000006a0  75 6e 74 69 6c 20 43 68  72 69 73 74 6d 61 73 20  |until Christmas |
000006b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 30 30  |              00|
000006c0  3a 30 30 20 32 35 74 68  20 44 65 63 65 6d 62 65  |:00 25th Decembe|
000006d0  72 20 31 39 39 37 20 44  61 79 73 20 20 20 20 20  |r 1997 Days     |
000006e0  55 6e 74 69 6c 0a 4d 69  6e 75 74 65 73 20 75 6e  |Until.Minutes un|
000006f0  74 69 6c 20 6c 75 6e 63  68 20 20 20 20 20 20 20  |til lunch       |
00000700  20 20 20 20 20 20 20 20  20 31 32 3a 30 30 20 28  |         12:00 (|
00000710  54 6f 64 61 79 27 73 20  64 61 74 65 29 20 20 20  |Today's date)   |
00000720  20 20 4d 69 6e 75 74 65  73 20 20 55 6e 74 69 6c  |  Minutes  Until|
00000730  0a 48 6f 75 72 73 20 75  6e 64 65 72 20 74 68 65  |.Hours under the|
00000740  20 63 75 72 72 65 6e 74  20 67 6f 76 65 72 6e 6d  | current governm|
00000750  65 6e 74 20 30 36 3a 30  30 20 31 73 74 20 4d 61  |ent 06:00 1st Ma|
00000760  79 20 31 39 39 37 20 20  20 20 20 20 20 48 6f 75  |y 1997       Hou|
00000770  72 73 20 20 20 20 41 66  74 65 72 0a 41 67 65 20  |rs    After.Age |
00000780  6f 66 20 74 68 69 73 20  21 48 65 6c 70 20 66 69  |of this !Help fi|
00000790  6c 65 20 20 20 20 20 20  20 20 20 20 20 20 20 31  |le             1|
000007a0  31 3a 32 35 20 31 73 74  20 53 65 70 74 65 6d 62  |1:25 1st Septemb|
000007b0  65 72 20 31 39 39 37 20  59 65 61 72 73 20 20 20  |er 1997 Years   |
000007c0  20 41 66 74 65 72 0a 0a  0a 0a 0a 4a 6f 6e 61 74  | After.....Jonat|
000007d0  68 61 6e 20 4c 20 52 61  77 6c 65 0a 31 73 74 20  |han L Rawle.1st |
000007e0  53 65 70 74 65 6d 62 65  72 20 31 39 39 37 0a     |September 1997.|
000007ef