Home » Archimedes archive » Acorn User » AU 1995-10.adf » !Direct » Director/!Director/Utils/!ReadMe
Director/!Director/Utils/!ReadMe
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 1995-10.adf » !Direct |
Filename: | Director/!Director/Utils/!ReadMe |
Read OK: | ✔ |
File size: | 0E7A bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Acorn User » AU 1995-10.adf » !Direct » Director/!Director/Utils/!ReadMe
- Archimedes archive » Acorn User » AU 1998-09.adf » Features » DesktopPD/Director/!Director/Utils/!ReadMe
File contents
Utilities ========= This directory provides a few utilities that are useful in conjunction with Director. SWI Module ========== The SWI module is (C) Jens H. Ovesen 1993 and is distributed with Director with permission. This provides a single * command for running SWIs from the command line. Syntax ------ *SWI <expression> [<expression>]^ [TO <variable>[ <variable>]^ [;<variable>]] <expression> is a string that is OS_GSTrans'ed before it's read. If it has "" around it or it can't be read as a number, it's expected to be a string. Otherwise it's read as a number value. <variable> is a system variable. If a '$' is found in <variable>, the register is expected to be a pointer to a string, and the system variable will be created as a String type from that register. Otherwise it will be created as a Number type. Please be aware that the machine may hang up if you don't know what you're doing. Examples -------- *SWI "OS_ReadLine" "12345678901" 10 32 126 to input$ length *SWI XOS_CLI "cat $" to ;flags *SWI <my$swi> <my$param> to my$output ; flags ExpandMenu ========== This is for converting Pinboard+ menu files to Director menu files. See the main manual for more details. RunFilerAc ========== This is for starting off Filer_Action tasks. It is useful if you want to do actions to files from the MenuMenu. See the example menus for details. IfPodule ======== Detects presence of podules Syntax ------ 1) *IfPodule <podule> <command> <command> executed if <podule> installed 2) *IfPodule <podule> <command_1> <command_2> <command_1> executed if <podule> installed <command_2> executed if not installed 3) *IfPodule <podule> <command> <param_1> <param_2> <command> <param_1> executed if <podule> installed <command> <param_2> executed if not installed where <podule> can be: 1) a (partial) podule name, or 2) a 4-bit simple podule type 3) a 32-bit ID with the product type in the low 16 bits and the manufacturer in the top 16 bits Examples -------- *IfPodule SCSI "Echo SCSI installed" *IfPodule Fax "Filer_Run !FaxManager" "Echo No FaxPack present" *IfPodule LaserDirect "Set LD$Present" yes no *IfPodule &1100A4 "Echo Acorn Ether3 installed" *IfPodule 15 "Echo Nick�s Magic podule is available" IfThereIs ========= Detects presence of files or directories. Syntax ------ *IfThereIs [-Not] [ -File | -Dir | -App | -Image ] [-x] <object> <�yes� command> [<�no� command>] | <command> <�yes� param> <�no� param> 1) *IfThereIs [options] <object> <command> <command> executed if <object> found 2) *IfThereIs [options] <object> <command_1> <command_2> <command_1> executed if <object> found <command_2> executed if not found 3) *IfThereIs [options] <object> <command> <param_1> <param_2> <command> <param_1> executed if <object> found <command> <param_2> executed if not found -x makes IfThereIs take the no option if any OS errors reported during the testing. Examples -------- *IfThereIs -App Apps:!ArtWorks "Echo ArtWorks installed" *IfThereIs <Obey$Dir>.!Run "<Obey$Dir>.!Run" "Echo No !Run file" *IfThereIs Resources:$.Apps.!Help "Set Help$Present" yes no *IfThereIs -Image ADFS::0.$ "Echo Dos Disc: " yes no DriveName ========= This is used for finding the name of a drive from its drive spec. Syntax ------ Syntax: *DriveName <varname> <drivespec> Examples -------- *DriveName Name ADFS::4 *DriveName Name ADFS::4.$ *DriveName Name ADFS::4.$.!Boot.Library All of these set the system variable Name to the name of the drive *Show Name Name : HardDisc4
00000000 55 74 69 6c 69 74 69 65 73 0a 3d 3d 3d 3d 3d 3d |Utilities.======| 00000010 3d 3d 3d 0a 0a 54 68 69 73 20 64 69 72 65 63 74 |===..This direct| 00000020 6f 72 79 20 70 72 6f 76 69 64 65 73 20 61 20 66 |ory provides a f| 00000030 65 77 20 75 74 69 6c 69 74 69 65 73 20 74 68 61 |ew utilities tha| 00000040 74 20 61 72 65 20 75 73 65 66 75 6c 20 69 6e 20 |t are useful in | 00000050 63 6f 6e 6a 75 6e 63 74 69 6f 6e 20 77 69 74 68 |conjunction with| 00000060 0a 44 69 72 65 63 74 6f 72 2e 0a 0a 0a 53 57 49 |.Director....SWI| 00000070 20 4d 6f 64 75 6c 65 0a 3d 3d 3d 3d 3d 3d 3d 3d | Module.========| 00000080 3d 3d 0a 0a 54 68 65 20 53 57 49 20 6d 6f 64 75 |==..The SWI modu| 00000090 6c 65 20 69 73 20 28 43 29 20 4a 65 6e 73 20 48 |le is (C) Jens H| 000000a0 2e 20 4f 76 65 73 65 6e 20 31 39 39 33 20 61 6e |. Ovesen 1993 an| 000000b0 64 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 |d is distributed| 000000c0 20 77 69 74 68 20 44 69 72 65 63 74 6f 72 0a 77 | with Director.w| 000000d0 69 74 68 20 70 65 72 6d 69 73 73 69 6f 6e 2e 0a |ith permission..| 000000e0 0a 54 68 69 73 20 70 72 6f 76 69 64 65 73 20 61 |.This provides a| 000000f0 20 73 69 6e 67 6c 65 20 2a 20 63 6f 6d 6d 61 6e | single * comman| 00000100 64 20 66 6f 72 20 72 75 6e 6e 69 6e 67 20 53 57 |d for running SW| 00000110 49 73 20 66 72 6f 6d 20 74 68 65 20 63 6f 6d 6d |Is from the comm| 00000120 61 6e 64 20 6c 69 6e 65 2e 0a 0a 53 79 6e 74 61 |and line...Synta| 00000130 78 0a 2d 2d 2d 2d 2d 2d 0a 20 20 2a 53 57 49 20 |x.------. *SWI | 00000140 3c 65 78 70 72 65 73 73 69 6f 6e 3e 20 5b 3c 65 |<expression> [<e| 00000150 78 70 72 65 73 73 69 6f 6e 3e 5d 5e 20 5b 54 4f |xpression>]^ [TO| 00000160 20 3c 76 61 72 69 61 62 6c 65 3e 5b 20 3c 76 61 | <variable>[ <va| 00000170 72 69 61 62 6c 65 3e 5d 5e 20 5b 3b 3c 76 61 72 |riable>]^ [;<var| 00000180 69 61 62 6c 65 3e 5d 5d 0a 0a 3c 65 78 70 72 65 |iable>]]..<expre| 00000190 73 73 69 6f 6e 3e 20 69 73 20 61 20 73 74 72 69 |ssion> is a stri| 000001a0 6e 67 20 74 68 61 74 20 69 73 20 4f 53 5f 47 53 |ng that is OS_GS| 000001b0 54 72 61 6e 73 27 65 64 20 62 65 66 6f 72 65 20 |Trans'ed before | 000001c0 69 74 27 73 20 72 65 61 64 2e 20 49 66 20 69 74 |it's read. If it| 000001d0 20 68 61 73 20 22 22 0a 61 72 6f 75 6e 64 20 69 | has "".around i| 000001e0 74 20 6f 72 20 69 74 20 63 61 6e 27 74 20 62 65 |t or it can't be| 000001f0 20 72 65 61 64 20 61 73 20 61 20 6e 75 6d 62 65 | read as a numbe| 00000200 72 2c 20 69 74 27 73 20 65 78 70 65 63 74 65 64 |r, it's expected| 00000210 20 74 6f 20 62 65 20 61 20 73 74 72 69 6e 67 2e | to be a string.| 00000220 0a 4f 74 68 65 72 77 69 73 65 20 69 74 27 73 20 |.Otherwise it's | 00000230 72 65 61 64 20 61 73 20 61 20 6e 75 6d 62 65 72 |read as a number| 00000240 20 76 61 6c 75 65 2e 0a 0a 3c 76 61 72 69 61 62 | value...<variab| 00000250 6c 65 3e 20 69 73 20 61 20 73 79 73 74 65 6d 20 |le> is a system | 00000260 76 61 72 69 61 62 6c 65 2e 20 49 66 20 61 20 27 |variable. If a '| 00000270 24 27 20 69 73 20 66 6f 75 6e 64 20 69 6e 20 3c |$' is found in <| 00000280 76 61 72 69 61 62 6c 65 3e 2c 20 74 68 65 0a 72 |variable>, the.r| 00000290 65 67 69 73 74 65 72 20 69 73 20 65 78 70 65 63 |egister is expec| 000002a0 74 65 64 20 74 6f 20 62 65 20 61 20 70 6f 69 6e |ted to be a poin| 000002b0 74 65 72 20 74 6f 20 61 20 73 74 72 69 6e 67 2c |ter to a string,| 000002c0 20 61 6e 64 20 74 68 65 20 73 79 73 74 65 6d 20 | and the system | 000002d0 76 61 72 69 61 62 6c 65 0a 77 69 6c 6c 20 62 65 |variable.will be| 000002e0 20 63 72 65 61 74 65 64 20 61 73 20 61 20 53 74 | created as a St| 000002f0 72 69 6e 67 20 74 79 70 65 20 66 72 6f 6d 20 74 |ring type from t| 00000300 68 61 74 20 72 65 67 69 73 74 65 72 2e 20 4f 74 |hat register. Ot| 00000310 68 65 72 77 69 73 65 20 69 74 20 77 69 6c 6c 20 |herwise it will | 00000320 62 65 0a 63 72 65 61 74 65 64 20 61 73 20 61 20 |be.created as a | 00000330 4e 75 6d 62 65 72 20 74 79 70 65 2e 0a 0a 50 6c |Number type...Pl| 00000340 65 61 73 65 20 62 65 20 61 77 61 72 65 20 74 68 |ease be aware th| 00000350 61 74 20 74 68 65 20 6d 61 63 68 69 6e 65 20 6d |at the machine m| 00000360 61 79 20 68 61 6e 67 20 75 70 20 69 66 20 79 6f |ay hang up if yo| 00000370 75 20 64 6f 6e 27 74 20 6b 6e 6f 77 20 77 68 61 |u don't know wha| 00000380 74 20 79 6f 75 27 72 65 0a 64 6f 69 6e 67 2e 0a |t you're.doing..| 00000390 0a 45 78 61 6d 70 6c 65 73 0a 2d 2d 2d 2d 2d 2d |.Examples.------| 000003a0 2d 2d 0a 0a 20 20 2a 53 57 49 20 22 4f 53 5f 52 |--.. *SWI "OS_R| 000003b0 65 61 64 4c 69 6e 65 22 20 22 31 32 33 34 35 36 |eadLine" "123456| 000003c0 37 38 39 30 31 22 20 31 30 20 33 32 20 31 32 36 |78901" 10 32 126| 000003d0 20 74 6f 20 69 6e 70 75 74 24 20 6c 65 6e 67 74 | to input$ lengt| 000003e0 68 0a 20 20 2a 53 57 49 20 58 4f 53 5f 43 4c 49 |h. *SWI XOS_CLI| 000003f0 20 22 63 61 74 20 24 22 20 74 6f 20 3b 66 6c 61 | "cat $" to ;fla| 00000400 67 73 0a 20 20 2a 53 57 49 20 3c 6d 79 24 73 77 |gs. *SWI <my$sw| 00000410 69 3e 20 3c 6d 79 24 70 61 72 61 6d 3e 20 74 6f |i> <my$param> to| 00000420 20 6d 79 24 6f 75 74 70 75 74 20 3b 20 66 6c 61 | my$output ; fla| 00000430 67 73 0a 0a 0a 45 78 70 61 6e 64 4d 65 6e 75 0a |gs...ExpandMenu.| 00000440 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 54 68 69 73 |==========..This| 00000450 20 69 73 20 66 6f 72 20 63 6f 6e 76 65 72 74 69 | is for converti| 00000460 6e 67 20 50 69 6e 62 6f 61 72 64 2b 20 6d 65 6e |ng Pinboard+ men| 00000470 75 20 66 69 6c 65 73 20 74 6f 20 44 69 72 65 63 |u files to Direc| 00000480 74 6f 72 20 6d 65 6e 75 20 66 69 6c 65 73 2e 20 |tor menu files. | 00000490 20 53 65 65 20 74 68 65 0a 6d 61 69 6e 20 6d 61 | See the.main ma| 000004a0 6e 75 61 6c 20 66 6f 72 20 6d 6f 72 65 20 64 65 |nual for more de| 000004b0 74 61 69 6c 73 2e 0a 0a 0a 52 75 6e 46 69 6c 65 |tails....RunFile| 000004c0 72 41 63 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a |rAc.==========..| 000004d0 54 68 69 73 20 69 73 20 66 6f 72 20 73 74 61 72 |This is for star| 000004e0 74 69 6e 67 20 6f 66 66 20 46 69 6c 65 72 5f 41 |ting off Filer_A| 000004f0 63 74 69 6f 6e 20 74 61 73 6b 73 2e 20 20 49 74 |ction tasks. It| 00000500 20 69 73 20 75 73 65 66 75 6c 20 69 66 20 79 6f | is useful if yo| 00000510 75 20 77 61 6e 74 20 74 6f 20 64 6f 0a 61 63 74 |u want to do.act| 00000520 69 6f 6e 73 20 74 6f 20 66 69 6c 65 73 20 66 72 |ions to files fr| 00000530 6f 6d 20 74 68 65 20 4d 65 6e 75 4d 65 6e 75 2e |om the MenuMenu.| 00000540 0a 0a 53 65 65 20 74 68 65 20 65 78 61 6d 70 6c |..See the exampl| 00000550 65 20 6d 65 6e 75 73 20 66 6f 72 20 64 65 74 61 |e menus for deta| 00000560 69 6c 73 2e 0a 0a 0a 49 66 50 6f 64 75 6c 65 0a |ils....IfPodule.| 00000570 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 44 65 74 65 63 74 |========..Detect| 00000580 73 20 70 72 65 73 65 6e 63 65 20 6f 66 20 70 6f |s presence of po| 00000590 64 75 6c 65 73 0a 20 20 20 20 0a 53 79 6e 74 61 |dules. .Synta| 000005a0 78 0a 2d 2d 2d 2d 2d 2d 0a 20 20 31 29 20 2a 49 |x.------. 1) *I| 000005b0 66 50 6f 64 75 6c 65 20 3c 70 6f 64 75 6c 65 3e |fPodule <podule>| 000005c0 20 3c 63 6f 6d 6d 61 6e 64 3e 0a 20 20 20 20 20 | <command>. | 000005d0 20 20 20 3c 63 6f 6d 6d 61 6e 64 3e 20 65 78 65 | <command> exe| 000005e0 63 75 74 65 64 20 69 66 20 3c 70 6f 64 75 6c 65 |cuted if <podule| 000005f0 3e 20 69 6e 73 74 61 6c 6c 65 64 0a 20 20 20 20 |> installed. | 00000600 20 20 20 0a 20 20 32 29 20 2a 49 66 50 6f 64 75 | . 2) *IfPodu| 00000610 6c 65 20 3c 70 6f 64 75 6c 65 3e 20 3c 63 6f 6d |le <podule> <com| 00000620 6d 61 6e 64 5f 31 3e 20 3c 63 6f 6d 6d 61 6e 64 |mand_1> <command| 00000630 5f 32 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6d |_2>. <com| 00000640 6d 61 6e 64 5f 31 3e 20 65 78 65 63 75 74 65 64 |mand_1> executed| 00000650 20 69 66 20 3c 70 6f 64 75 6c 65 3e 20 69 6e 73 | if <podule> ins| 00000660 74 61 6c 6c 65 64 0a 20 20 20 20 20 20 20 20 3c |talled. <| 00000670 63 6f 6d 6d 61 6e 64 5f 32 3e 20 65 78 65 63 75 |command_2> execu| 00000680 74 65 64 20 69 66 20 6e 6f 74 20 69 6e 73 74 61 |ted if not insta| 00000690 6c 6c 65 64 0a 20 20 20 20 20 20 20 0a 20 20 33 |lled. . 3| 000006a0 29 20 2a 49 66 50 6f 64 75 6c 65 20 3c 70 6f 64 |) *IfPodule <pod| 000006b0 75 6c 65 3e 20 3c 63 6f 6d 6d 61 6e 64 3e 20 3c |ule> <command> <| 000006c0 70 61 72 61 6d 5f 31 3e 20 3c 70 61 72 61 6d 5f |param_1> <param_| 000006d0 32 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6d 6d |2>. <comm| 000006e0 61 6e 64 3e 20 3c 70 61 72 61 6d 5f 31 3e 20 65 |and> <param_1> e| 000006f0 78 65 63 75 74 65 64 20 69 66 20 3c 70 6f 64 75 |xecuted if <podu| 00000700 6c 65 3e 20 69 6e 73 74 61 6c 6c 65 64 0a 20 20 |le> installed. | 00000710 20 20 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 3e 20 | <command> | 00000720 3c 70 61 72 61 6d 5f 32 3e 20 65 78 65 63 75 74 |<param_2> execut| 00000730 65 64 20 69 66 20 6e 6f 74 20 69 6e 73 74 61 6c |ed if not instal| 00000740 6c 65 64 0a 0a 77 68 65 72 65 20 3c 70 6f 64 75 |led..where <podu| 00000750 6c 65 3e 20 63 61 6e 20 62 65 3a 0a 20 20 31 29 |le> can be:. 1)| 00000760 20 61 20 28 70 61 72 74 69 61 6c 29 20 70 6f 64 | a (partial) pod| 00000770 75 6c 65 20 6e 61 6d 65 2c 20 6f 72 0a 20 20 32 |ule name, or. 2| 00000780 29 20 61 20 34 2d 62 69 74 20 73 69 6d 70 6c 65 |) a 4-bit simple| 00000790 20 70 6f 64 75 6c 65 20 74 79 70 65 0a 20 20 33 | podule type. 3| 000007a0 29 20 61 20 33 32 2d 62 69 74 20 49 44 20 77 69 |) a 32-bit ID wi| 000007b0 74 68 20 74 68 65 20 70 72 6f 64 75 63 74 20 74 |th the product t| 000007c0 79 70 65 20 69 6e 20 74 68 65 20 6c 6f 77 20 31 |ype in the low 1| 000007d0 36 20 62 69 74 73 20 61 6e 64 0a 20 20 20 20 20 |6 bits and. | 000007e0 74 68 65 20 6d 61 6e 75 66 61 63 74 75 72 65 72 |the manufacturer| 000007f0 20 69 6e 20 74 68 65 20 74 6f 70 20 31 36 20 62 | in the top 16 b| 00000800 69 74 73 0a 0a 45 78 61 6d 70 6c 65 73 0a 2d 2d |its..Examples.--| 00000810 2d 2d 2d 2d 2d 2d 0a 20 20 2a 49 66 50 6f 64 75 |------. *IfPodu| 00000820 6c 65 20 53 43 53 49 20 22 45 63 68 6f 20 53 43 |le SCSI "Echo SC| 00000830 53 49 20 69 6e 73 74 61 6c 6c 65 64 22 0a 20 20 |SI installed". | 00000840 2a 49 66 50 6f 64 75 6c 65 20 46 61 78 20 22 46 |*IfPodule Fax "F| 00000850 69 6c 65 72 5f 52 75 6e 20 21 46 61 78 4d 61 6e |iler_Run !FaxMan| 00000860 61 67 65 72 22 20 22 45 63 68 6f 20 4e 6f 20 46 |ager" "Echo No F| 00000870 61 78 50 61 63 6b 20 70 72 65 73 65 6e 74 22 0a |axPack present".| 00000880 20 20 2a 49 66 50 6f 64 75 6c 65 20 4c 61 73 65 | *IfPodule Lase| 00000890 72 44 69 72 65 63 74 20 22 53 65 74 20 4c 44 24 |rDirect "Set LD$| 000008a0 50 72 65 73 65 6e 74 22 20 79 65 73 20 6e 6f 0a |Present" yes no.| 000008b0 20 20 2a 49 66 50 6f 64 75 6c 65 20 26 31 31 30 | *IfPodule &110| 000008c0 30 41 34 20 22 45 63 68 6f 20 41 63 6f 72 6e 20 |0A4 "Echo Acorn | 000008d0 45 74 68 65 72 33 20 69 6e 73 74 61 6c 6c 65 64 |Ether3 installed| 000008e0 22 0a 20 20 2a 49 66 50 6f 64 75 6c 65 20 31 35 |". *IfPodule 15| 000008f0 20 22 45 63 68 6f 20 4e 69 63 6b 91 73 20 4d 61 | "Echo Nick.s Ma| 00000900 67 69 63 20 70 6f 64 75 6c 65 20 69 73 20 61 76 |gic podule is av| 00000910 61 69 6c 61 62 6c 65 22 0a 0a 0a 49 66 54 68 65 |ailable"...IfThe| 00000920 72 65 49 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a |reIs.=========..| 00000930 44 65 74 65 63 74 73 20 70 72 65 73 65 6e 63 65 |Detects presence| 00000940 20 6f 66 20 66 69 6c 65 73 20 6f 72 20 64 69 72 | of files or dir| 00000950 65 63 74 6f 72 69 65 73 2e 0a 0a 53 79 6e 74 61 |ectories...Synta| 00000960 78 0a 2d 2d 2d 2d 2d 2d 0a 20 20 2a 49 66 54 68 |x.------. *IfTh| 00000970 65 72 65 49 73 20 5b 2d 4e 6f 74 5d 20 5b 20 2d |ereIs [-Not] [ -| 00000980 46 69 6c 65 20 7c 20 2d 44 69 72 20 7c 20 2d 41 |File | -Dir | -A| 00000990 70 70 20 7c 20 2d 49 6d 61 67 65 20 5d 20 5b 2d |pp | -Image ] [-| 000009a0 78 5d 20 3c 6f 62 6a 65 63 74 3e 0a 20 20 20 20 |x] <object>. | 000009b0 20 20 20 20 20 20 20 20 20 3c 90 79 65 73 91 20 | <.yes. | 000009c0 63 6f 6d 6d 61 6e 64 3e 20 5b 3c 90 6e 6f 91 20 |command> [<.no. | 000009d0 63 6f 6d 6d 61 6e 64 3e 5d 0a 20 20 20 20 20 20 |command>]. | 000009e0 20 20 20 20 20 7c 20 3c 63 6f 6d 6d 61 6e 64 3e | | <command>| 000009f0 20 3c 90 79 65 73 91 20 70 61 72 61 6d 3e 20 3c | <.yes. param> <| 00000a00 90 6e 6f 91 20 70 61 72 61 6d 3e 0a 0a 20 20 31 |.no. param>.. 1| 00000a10 29 20 2a 49 66 54 68 65 72 65 49 73 20 5b 6f 70 |) *IfThereIs [op| 00000a20 74 69 6f 6e 73 5d 20 3c 6f 62 6a 65 63 74 3e 20 |tions] <object> | 00000a30 3c 63 6f 6d 6d 61 6e 64 3e 0a 20 20 20 20 20 20 |<command>. | 00000a40 20 20 3c 63 6f 6d 6d 61 6e 64 3e 20 65 78 65 63 | <command> exec| 00000a50 75 74 65 64 20 69 66 20 3c 6f 62 6a 65 63 74 3e |uted if <object>| 00000a60 20 66 6f 75 6e 64 0a 20 20 20 20 20 20 20 0a 20 | found. . | 00000a70 20 32 29 20 2a 49 66 54 68 65 72 65 49 73 20 5b | 2) *IfThereIs [| 00000a80 6f 70 74 69 6f 6e 73 5d 20 3c 6f 62 6a 65 63 74 |options] <object| 00000a90 3e 20 3c 63 6f 6d 6d 61 6e 64 5f 31 3e 20 3c 63 |> <command_1> <c| 00000aa0 6f 6d 6d 61 6e 64 5f 32 3e 0a 20 20 20 20 20 20 |ommand_2>. | 00000ab0 20 20 3c 63 6f 6d 6d 61 6e 64 5f 31 3e 20 65 78 | <command_1> ex| 00000ac0 65 63 75 74 65 64 20 69 66 20 3c 6f 62 6a 65 63 |ecuted if <objec| 00000ad0 74 3e 20 66 6f 75 6e 64 0a 20 20 20 20 20 20 20 |t> found. | 00000ae0 20 3c 63 6f 6d 6d 61 6e 64 5f 32 3e 20 65 78 65 | <command_2> exe| 00000af0 63 75 74 65 64 20 69 66 20 6e 6f 74 20 66 6f 75 |cuted if not fou| 00000b00 6e 64 0a 20 20 20 20 20 20 20 0a 20 20 33 29 20 |nd. . 3) | 00000b10 2a 49 66 54 68 65 72 65 49 73 20 5b 6f 70 74 69 |*IfThereIs [opti| 00000b20 6f 6e 73 5d 20 3c 6f 62 6a 65 63 74 3e 20 3c 63 |ons] <object> <c| 00000b30 6f 6d 6d 61 6e 64 3e 20 3c 70 61 72 61 6d 5f 31 |ommand> <param_1| 00000b40 3e 20 3c 70 61 72 61 6d 5f 32 3e 0a 20 20 20 20 |> <param_2>. | 00000b50 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 3e 20 3c 70 | <command> <p| 00000b60 61 72 61 6d 5f 31 3e 20 65 78 65 63 75 74 65 64 |aram_1> executed| 00000b70 20 69 66 20 3c 6f 62 6a 65 63 74 3e 20 66 6f 75 | if <object> fou| 00000b80 6e 64 0a 20 20 20 20 20 20 20 20 3c 63 6f 6d 6d |nd. <comm| 00000b90 61 6e 64 3e 20 3c 70 61 72 61 6d 5f 32 3e 20 65 |and> <param_2> e| 00000ba0 78 65 63 75 74 65 64 20 69 66 20 6e 6f 74 20 66 |xecuted if not f| 00000bb0 6f 75 6e 64 0a 0a 2d 78 20 6d 61 6b 65 73 20 49 |ound..-x makes I| 00000bc0 66 54 68 65 72 65 49 73 20 74 61 6b 65 20 74 68 |fThereIs take th| 00000bd0 65 20 6e 6f 20 6f 70 74 69 6f 6e 20 69 66 20 61 |e no option if a| 00000be0 6e 79 20 4f 53 20 65 72 72 6f 72 73 20 72 65 70 |ny OS errors rep| 00000bf0 6f 72 74 65 64 20 64 75 72 69 6e 67 20 74 68 65 |orted during the| 00000c00 0a 74 65 73 74 69 6e 67 2e 0a 0a 45 78 61 6d 70 |.testing...Examp| 00000c10 6c 65 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 2a |les.--------. *| 00000c20 49 66 54 68 65 72 65 49 73 20 2d 41 70 70 20 41 |IfThereIs -App A| 00000c30 70 70 73 3a 21 41 72 74 57 6f 72 6b 73 20 22 45 |pps:!ArtWorks "E| 00000c40 63 68 6f 20 41 72 74 57 6f 72 6b 73 20 69 6e 73 |cho ArtWorks ins| 00000c50 74 61 6c 6c 65 64 22 0a 20 20 2a 49 66 54 68 65 |talled". *IfThe| 00000c60 72 65 49 73 20 3c 4f 62 65 79 24 44 69 72 3e 2e |reIs <Obey$Dir>.| 00000c70 21 52 75 6e 20 22 3c 4f 62 65 79 24 44 69 72 3e |!Run "<Obey$Dir>| 00000c80 2e 21 52 75 6e 22 20 22 45 63 68 6f 20 4e 6f 20 |.!Run" "Echo No | 00000c90 21 52 75 6e 20 66 69 6c 65 22 0a 20 20 2a 49 66 |!Run file". *If| 00000ca0 54 68 65 72 65 49 73 20 52 65 73 6f 75 72 63 65 |ThereIs Resource| 00000cb0 73 3a 24 2e 41 70 70 73 2e 21 48 65 6c 70 20 22 |s:$.Apps.!Help "| 00000cc0 53 65 74 20 48 65 6c 70 24 50 72 65 73 65 6e 74 |Set Help$Present| 00000cd0 22 20 79 65 73 20 6e 6f 0a 20 20 2a 49 66 54 68 |" yes no. *IfTh| 00000ce0 65 72 65 49 73 20 2d 49 6d 61 67 65 20 41 44 46 |ereIs -Image ADF| 00000cf0 53 3a 3a 30 2e 24 20 22 45 63 68 6f 20 44 6f 73 |S::0.$ "Echo Dos| 00000d00 20 44 69 73 63 3a 20 22 20 79 65 73 20 6e 6f 0a | Disc: " yes no.| 00000d10 0a 44 72 69 76 65 4e 61 6d 65 0a 3d 3d 3d 3d 3d |.DriveName.=====| 00000d20 3d 3d 3d 3d 0a 0a 54 68 69 73 20 69 73 20 75 73 |====..This is us| 00000d30 65 64 20 66 6f 72 20 66 69 6e 64 69 6e 67 20 74 |ed for finding t| 00000d40 68 65 20 6e 61 6d 65 20 6f 66 20 61 20 64 72 69 |he name of a dri| 00000d50 76 65 20 66 72 6f 6d 20 69 74 73 20 64 72 69 76 |ve from its driv| 00000d60 65 20 73 70 65 63 2e 0a 0a 53 79 6e 74 61 78 0a |e spec...Syntax.| 00000d70 2d 2d 2d 2d 2d 2d 0a 20 20 53 79 6e 74 61 78 3a |------. Syntax:| 00000d80 20 2a 44 72 69 76 65 4e 61 6d 65 20 3c 76 61 72 | *DriveName <var| 00000d90 6e 61 6d 65 3e 20 3c 64 72 69 76 65 73 70 65 63 |name> <drivespec| 00000da0 3e 0a 0a 45 78 61 6d 70 6c 65 73 0a 2d 2d 2d 2d |>..Examples.----| 00000db0 2d 2d 2d 2d 0a 20 20 2a 44 72 69 76 65 4e 61 6d |----. *DriveNam| 00000dc0 65 20 4e 61 6d 65 20 41 44 46 53 3a 3a 34 0a 20 |e Name ADFS::4. | 00000dd0 20 2a 44 72 69 76 65 4e 61 6d 65 20 4e 61 6d 65 | *DriveName Name| 00000de0 20 41 44 46 53 3a 3a 34 2e 24 0a 20 20 2a 44 72 | ADFS::4.$. *Dr| 00000df0 69 76 65 4e 61 6d 65 20 4e 61 6d 65 20 41 44 46 |iveName Name ADF| 00000e00 53 3a 3a 34 2e 24 2e 21 42 6f 6f 74 2e 4c 69 62 |S::4.$.!Boot.Lib| 00000e10 72 61 72 79 0a 0a 41 6c 6c 20 6f 66 20 74 68 65 |rary..All of the| 00000e20 73 65 20 73 65 74 20 74 68 65 20 73 79 73 74 65 |se set the syste| 00000e30 6d 20 76 61 72 69 61 62 6c 65 20 4e 61 6d 65 20 |m variable Name | 00000e40 74 6f 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 |to the name of t| 00000e50 68 65 20 64 72 69 76 65 0a 0a 20 20 2a 53 68 6f |he drive.. *Sho| 00000e60 77 20 4e 61 6d 65 0a 20 20 4e 61 6d 65 20 3a 20 |w Name. Name : | 00000e70 48 61 72 64 44 69 73 63 34 0a |HardDisc4.| 00000e7a