Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92 » !AWJUL92/Goodies/Wimp/!Convert/!Help

!AWJUL92/Goodies/Wimp/!Convert/!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 » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92
Filename: !AWJUL92/Goodies/Wimp/!Convert/!Help
Read OK:
File size: 0737 bytes
Load address: 0000
Exec address: 0000
File contents
     
                     ----------------------------------------
                             Application : !convert
     
                       Help for Version 1.0 : (04 Mar 1992)
     
                     ----------------------------------------
   
   
 -------   
 Purpose
 -------
   
 Converts BASIC files to TEXT and Converts TEXT files to BASIC 
 
 
 ---------     
 Operation
 ---------
   
 This application opens a window into which can be dragged a Basic or Text
 file.
 
 The window is a actually a standard save window except that files are
 CONVERTED when dragged to a filer window.
 
 When a BASIC file is "loaded into" the window the icon changes to a TEXT
 icon indicating that the file will be converted to text.
 
 When a TEXT file is "loaded in" the icon changes to BASIC.
 
 The methods used to are so-called "dirty" methods. When a text file is 
 loaded into BASIC it is automatically tokenised. Similarly when the command
 TWIN is given a BASIC program is de-tokenised. (Since the EDITOR TWIN is
 no longer much used it is no great loss to re-interpret this command)

 The program thus works by opening a command window and using these command
 line methods.
 
 Conversion is completed by pressing function key F12
 
 
  ------------
  1) Main Menu 
  ------------
  
     (Obtained by pressing menu button over the !Convert window)
     
                          -----------
                         | !Convert  |
                          -----------
                         | Info    � |   
                         | No Line#  |   
                          -----------

     The second item is only enabled in the case of BASIC to Text. If
     selected then no line numbers appear in the text version of the
     BASIC program. This is the default situation. For line numbers
     simply de-select this item.
00000000  20 20 20 20 20 0a 20 20  20 20 20 20 20 20 20 20  |     .          |
00000010  20 20 20 20 20 20 20 20  20 20 20 2d 2d 2d 2d 2d  |           -----|
00000020  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000040  2d 2d 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |---.            |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000060  20 41 70 70 6c 69 63 61  74 69 6f 6e 20 3a 20 21  | Application : !|
00000070  63 6f 6e 76 65 72 74 0a  20 20 20 20 20 0a 20 20  |convert.     .  |
00000080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000090  20 20 20 20 20 48 65 6c  70 20 66 6f 72 20 56 65  |     Help for Ve|
000000a0  72 73 69 6f 6e 20 31 2e  30 20 3a 20 28 30 34 20  |rsion 1.0 : (04 |
000000b0  4d 61 72 20 31 39 39 32  29 0a 20 20 20 20 20 0a  |Mar 1992).     .|
000000c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000000d0  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
000000e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000000f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00000100  20 0a 20 20 20 0a 20 2d  2d 2d 2d 2d 2d 2d 20 20  | .   . -------  |
00000110  20 0a 20 50 75 72 70 6f  73 65 0a 20 2d 2d 2d 2d  | . Purpose. ----|
00000120  2d 2d 2d 0a 20 20 20 0a  20 43 6f 6e 76 65 72 74  |---.   . Convert|
00000130  73 20 42 41 53 49 43 20  66 69 6c 65 73 20 74 6f  |s BASIC files to|
00000140  20 54 45 58 54 20 61 6e  64 20 43 6f 6e 76 65 72  | TEXT and Conver|
00000150  74 73 20 54 45 58 54 20  66 69 6c 65 73 20 74 6f  |ts TEXT files to|
00000160  20 42 41 53 49 43 20 0a  20 0a 20 0a 20 2d 2d 2d  | BASIC . . . ---|
00000170  2d 2d 2d 2d 2d 2d 20 20  20 20 20 0a 20 4f 70 65  |------     . Ope|
00000180  72 61 74 69 6f 6e 0a 20  2d 2d 2d 2d 2d 2d 2d 2d  |ration. --------|
00000190  2d 0a 20 20 20 0a 20 54  68 69 73 20 61 70 70 6c  |-.   . This appl|
000001a0  69 63 61 74 69 6f 6e 20  6f 70 65 6e 73 20 61 20  |ication opens a |
000001b0  77 69 6e 64 6f 77 20 69  6e 74 6f 20 77 68 69 63  |window into whic|
000001c0  68 20 63 61 6e 20 62 65  20 64 72 61 67 67 65 64  |h can be dragged|
000001d0  20 61 20 42 61 73 69 63  20 6f 72 20 54 65 78 74  | a Basic or Text|
000001e0  0a 20 66 69 6c 65 2e 0a  20 0a 20 54 68 65 20 77  |. file.. . The w|
000001f0  69 6e 64 6f 77 20 69 73  20 61 20 61 63 74 75 61  |indow is a actua|
00000200  6c 6c 79 20 61 20 73 74  61 6e 64 61 72 64 20 73  |lly a standard s|
00000210  61 76 65 20 77 69 6e 64  6f 77 20 65 78 63 65 70  |ave window excep|
00000220  74 20 74 68 61 74 20 66  69 6c 65 73 20 61 72 65  |t that files are|
00000230  0a 20 43 4f 4e 56 45 52  54 45 44 20 77 68 65 6e  |. CONVERTED when|
00000240  20 64 72 61 67 67 65 64  20 74 6f 20 61 20 66 69  | dragged to a fi|
00000250  6c 65 72 20 77 69 6e 64  6f 77 2e 0a 20 0a 20 57  |ler window.. . W|
00000260  68 65 6e 20 61 20 42 41  53 49 43 20 66 69 6c 65  |hen a BASIC file|
00000270  20 69 73 20 22 6c 6f 61  64 65 64 20 69 6e 74 6f  | is "loaded into|
00000280  22 20 74 68 65 20 77 69  6e 64 6f 77 20 74 68 65  |" the window the|
00000290  20 69 63 6f 6e 20 63 68  61 6e 67 65 73 20 74 6f  | icon changes to|
000002a0  20 61 20 54 45 58 54 0a  20 69 63 6f 6e 20 69 6e  | a TEXT. icon in|
000002b0  64 69 63 61 74 69 6e 67  20 74 68 61 74 20 74 68  |dicating that th|
000002c0  65 20 66 69 6c 65 20 77  69 6c 6c 20 62 65 20 63  |e file will be c|
000002d0  6f 6e 76 65 72 74 65 64  20 74 6f 20 74 65 78 74  |onverted to text|
000002e0  2e 0a 20 0a 20 57 68 65  6e 20 61 20 54 45 58 54  |.. . When a TEXT|
000002f0  20 66 69 6c 65 20 69 73  20 22 6c 6f 61 64 65 64  | file is "loaded|
00000300  20 69 6e 22 20 74 68 65  20 69 63 6f 6e 20 63 68  | in" the icon ch|
00000310  61 6e 67 65 73 20 74 6f  20 42 41 53 49 43 2e 0a  |anges to BASIC..|
00000320  20 0a 20 54 68 65 20 6d  65 74 68 6f 64 73 20 75  | . The methods u|
00000330  73 65 64 20 74 6f 20 61  72 65 20 73 6f 2d 63 61  |sed to are so-ca|
00000340  6c 6c 65 64 20 22 64 69  72 74 79 22 20 6d 65 74  |lled "dirty" met|
00000350  68 6f 64 73 2e 20 57 68  65 6e 20 61 20 74 65 78  |hods. When a tex|
00000360  74 20 66 69 6c 65 20 69  73 20 0a 20 6c 6f 61 64  |t file is . load|
00000370  65 64 20 69 6e 74 6f 20  42 41 53 49 43 20 69 74  |ed into BASIC it|
00000380  20 69 73 20 61 75 74 6f  6d 61 74 69 63 61 6c 6c  | is automaticall|
00000390  79 20 74 6f 6b 65 6e 69  73 65 64 2e 20 53 69 6d  |y tokenised. Sim|
000003a0  69 6c 61 72 6c 79 20 77  68 65 6e 20 74 68 65 20  |ilarly when the |
000003b0  63 6f 6d 6d 61 6e 64 0a  20 54 57 49 4e 20 69 73  |command. TWIN is|
000003c0  20 67 69 76 65 6e 20 61  20 42 41 53 49 43 20 70  | given a BASIC p|
000003d0  72 6f 67 72 61 6d 20 69  73 20 64 65 2d 74 6f 6b  |rogram is de-tok|
000003e0  65 6e 69 73 65 64 2e 20  28 53 69 6e 63 65 20 74  |enised. (Since t|
000003f0  68 65 20 45 44 49 54 4f  52 20 54 57 49 4e 20 69  |he EDITOR TWIN i|
00000400  73 0a 20 6e 6f 20 6c 6f  6e 67 65 72 20 6d 75 63  |s. no longer muc|
00000410  68 20 75 73 65 64 20 69  74 20 69 73 20 6e 6f 20  |h used it is no |
00000420  67 72 65 61 74 20 6c 6f  73 73 20 74 6f 20 72 65  |great loss to re|
00000430  2d 69 6e 74 65 72 70 72  65 74 20 74 68 69 73 20  |-interpret this |
00000440  63 6f 6d 6d 61 6e 64 29  0a 0a 20 54 68 65 20 70  |command).. The p|
00000450  72 6f 67 72 61 6d 20 74  68 75 73 20 77 6f 72 6b  |rogram thus work|
00000460  73 20 62 79 20 6f 70 65  6e 69 6e 67 20 61 20 63  |s by opening a c|
00000470  6f 6d 6d 61 6e 64 20 77  69 6e 64 6f 77 20 61 6e  |ommand window an|
00000480  64 20 75 73 69 6e 67 20  74 68 65 73 65 20 63 6f  |d using these co|
00000490  6d 6d 61 6e 64 0a 20 6c  69 6e 65 20 6d 65 74 68  |mmand. line meth|
000004a0  6f 64 73 2e 0a 20 0a 20  43 6f 6e 76 65 72 73 69  |ods.. . Conversi|
000004b0  6f 6e 20 69 73 20 63 6f  6d 70 6c 65 74 65 64 20  |on is completed |
000004c0  62 79 20 70 72 65 73 73  69 6e 67 20 66 75 6e 63  |by pressing func|
000004d0  74 69 6f 6e 20 6b 65 79  20 46 31 32 0a 20 0a 20  |tion key F12. . |
000004e0  0a 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |.  ------------.|
000004f0  20 20 31 29 20 4d 61 69  6e 20 4d 65 6e 75 20 0a  |  1) Main Menu .|
00000500  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |  ------------. |
00000510  20 0a 20 20 20 20 20 28  4f 62 74 61 69 6e 65 64  | .     (Obtained|
00000520  20 62 79 20 70 72 65 73  73 69 6e 67 20 6d 65 6e  | by pressing men|
00000530  75 20 62 75 74 74 6f 6e  20 6f 76 65 72 20 74 68  |u button over th|
00000540  65 20 21 43 6f 6e 76 65  72 74 20 77 69 6e 64 6f  |e !Convert windo|
00000550  77 29 0a 20 20 20 20 20  0a 20 20 20 20 20 20 20  |w).     .       |
00000560  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000570  20 20 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 20  |   -----------. |
00000580  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000590  20 20 20 20 20 20 20 20  7c 20 21 43 6f 6e 76 65  |        | !Conve|
000005a0  72 74 20 20 7c 0a 20 20  20 20 20 20 20 20 20 20  |rt  |.          |
000005b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 20 20 20 20  |-----------.    |
000005d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005e0  20 20 20 20 20 7c 20 49  6e 66 6f 20 20 20 20 89  |     | Info    .|
000005f0  20 7c 20 20 20 0a 20 20  20 20 20 20 20 20 20 20  | |   .          |
00000600  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 7c  |               ||
00000610  20 4e 6f 20 4c 69 6e 65  23 20 20 7c 20 20 20 0a  | No Line#  |   .|
00000620  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000630  20 20 20 20 20 20 20 20  20 20 2d 2d 2d 2d 2d 2d  |          ------|
00000640  2d 2d 2d 2d 2d 0a 0a 20  20 20 20 20 54 68 65 20  |-----..     The |
00000650  73 65 63 6f 6e 64 20 69  74 65 6d 20 69 73 20 6f  |second item is o|
00000660  6e 6c 79 20 65 6e 61 62  6c 65 64 20 69 6e 20 74  |nly enabled in t|
00000670  68 65 20 63 61 73 65 20  6f 66 20 42 41 53 49 43  |he case of BASIC|
00000680  20 74 6f 20 54 65 78 74  2e 20 49 66 0a 20 20 20  | to Text. If.   |
00000690  20 20 73 65 6c 65 63 74  65 64 20 74 68 65 6e 20  |  selected then |
000006a0  6e 6f 20 6c 69 6e 65 20  6e 75 6d 62 65 72 73 20  |no line numbers |
000006b0  61 70 70 65 61 72 20 69  6e 20 74 68 65 20 74 65  |appear in the te|
000006c0  78 74 20 76 65 72 73 69  6f 6e 20 6f 66 20 74 68  |xt version of th|
000006d0  65 0a 20 20 20 20 20 42  41 53 49 43 20 70 72 6f  |e.     BASIC pro|
000006e0  67 72 61 6d 2e 20 54 68  69 73 20 69 73 20 74 68  |gram. This is th|
000006f0  65 20 64 65 66 61 75 6c  74 20 73 69 74 75 61 74  |e default situat|
00000700  69 6f 6e 2e 20 46 6f 72  20 6c 69 6e 65 20 6e 75  |ion. For line nu|
00000710  6d 62 65 72 73 0a 20 20  20 20 20 73 69 6d 70 6c  |mbers.     simpl|
00000720  79 20 64 65 2d 73 65 6c  65 63 74 20 74 68 69 73  |y de-select this|
00000730  20 69 74 65 6d 2e 0a                              | item..|
00000737