Home » Archimedes archive » Acorn User » AU 1996-Xmas.adf » Extras » PD/AppsClock/OutToLunch/!Lunch/!Run

PD/AppsClock/OutToLunch/!Lunch/!Run

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 1996-Xmas.adf » Extras
Filename: PD/AppsClock/OutToLunch/!Lunch/!Run
Read OK:
File size: 01E5 bytes
Load address: 0000
Exec address: 0000
File contents
| !Run file for Out to Lunch
| � Peter Gaunt, 1992

Set Lunch$Dir <Obey$Dir>

if "<System$Path>" = "" then Error 0 System resources cannot be found
RMEnsure ColourTrans 0.00 RMLOAD System:Modules.Colours
RMENSURE ColourTrans 0.52 ERROR 'Colours' module not found or out of date

Run <Lunch$Dir>.LunchSetUp

Run <Lunch$Dir>.CountTasks
Run <Lunch$Dir>.CheckALT
IF ALT$Down THEN RUN <Lunch$Dir>.!RunConfig

UNSET ALT$Down
RMLoad <Lunch$Dir>.Lunch
If Desktop$NumTasks>1 THEN Desktop_Lunch
00000000  7c 20 21 52 75 6e 20 66  69 6c 65 20 66 6f 72 20  || !Run file for |
00000010  4f 75 74 20 74 6f 20 4c  75 6e 63 68 0a 7c 20 a9  |Out to Lunch.| .|
00000020  20 50 65 74 65 72 20 47  61 75 6e 74 2c 20 31 39  | Peter Gaunt, 19|
00000030  39 32 0a 0a 53 65 74 20  4c 75 6e 63 68 24 44 69  |92..Set Lunch$Di|
00000040  72 20 3c 4f 62 65 79 24  44 69 72 3e 0a 0a 69 66  |r <Obey$Dir>..if|
00000050  20 22 3c 53 79 73 74 65  6d 24 50 61 74 68 3e 22  | "<System$Path>"|
00000060  20 3d 20 22 22 20 74 68  65 6e 20 45 72 72 6f 72  | = "" then Error|
00000070  20 30 20 53 79 73 74 65  6d 20 72 65 73 6f 75 72  | 0 System resour|
00000080  63 65 73 20 63 61 6e 6e  6f 74 20 62 65 20 66 6f  |ces cannot be fo|
00000090  75 6e 64 0a 52 4d 45 6e  73 75 72 65 20 43 6f 6c  |und.RMEnsure Col|
000000a0  6f 75 72 54 72 61 6e 73  20 30 2e 30 30 20 52 4d  |ourTrans 0.00 RM|
000000b0  4c 4f 41 44 20 53 79 73  74 65 6d 3a 4d 6f 64 75  |LOAD System:Modu|
000000c0  6c 65 73 2e 43 6f 6c 6f  75 72 73 0a 52 4d 45 4e  |les.Colours.RMEN|
000000d0  53 55 52 45 20 43 6f 6c  6f 75 72 54 72 61 6e 73  |SURE ColourTrans|
000000e0  20 30 2e 35 32 20 45 52  52 4f 52 20 27 43 6f 6c  | 0.52 ERROR 'Col|
000000f0  6f 75 72 73 27 20 6d 6f  64 75 6c 65 20 6e 6f 74  |ours' module not|
00000100  20 66 6f 75 6e 64 20 6f  72 20 6f 75 74 20 6f 66  | found or out of|
00000110  20 64 61 74 65 0a 0a 52  75 6e 20 3c 4c 75 6e 63  | date..Run <Lunc|
00000120  68 24 44 69 72 3e 2e 4c  75 6e 63 68 53 65 74 55  |h$Dir>.LunchSetU|
00000130  70 0a 0a 52 75 6e 20 3c  4c 75 6e 63 68 24 44 69  |p..Run <Lunch$Di|
00000140  72 3e 2e 43 6f 75 6e 74  54 61 73 6b 73 0a 52 75  |r>.CountTasks.Ru|
00000150  6e 20 3c 4c 75 6e 63 68  24 44 69 72 3e 2e 43 68  |n <Lunch$Dir>.Ch|
00000160  65 63 6b 41 4c 54 0a 49  46 20 41 4c 54 24 44 6f  |eckALT.IF ALT$Do|
00000170  77 6e 20 54 48 45 4e 20  52 55 4e 20 3c 4c 75 6e  |wn THEN RUN <Lun|
00000180  63 68 24 44 69 72 3e 2e  21 52 75 6e 43 6f 6e 66  |ch$Dir>.!RunConf|
00000190  69 67 0a 0a 55 4e 53 45  54 20 41 4c 54 24 44 6f  |ig..UNSET ALT$Do|
000001a0  77 6e 0a 52 4d 4c 6f 61  64 20 3c 4c 75 6e 63 68  |wn.RMLoad <Lunch|
000001b0  24 44 69 72 3e 2e 4c 75  6e 63 68 0a 49 66 20 44  |$Dir>.Lunch.If D|
000001c0  65 73 6b 74 6f 70 24 4e  75 6d 54 61 73 6b 73 3e  |esktop$NumTasks>|
000001d0  31 20 54 48 45 4e 20 44  65 73 6b 74 6f 70 5f 4c  |1 THEN Desktop_L|
000001e0  75 6e 63 68 0a                                    |unch.|
000001e5