home *** CD-ROM | disk | FTP | other *** search
-
- * Name : Edit2Imp
- * Purpose : File format converter
- * Author : © Alexander Buckley, 1991
- * Version : 1.00 (14-Apr-91)
-
- _______________________________________________________
-
-
- Overview
- --------
- Edit2Imp is a simple little program which converts Edit files to the same
- format as Impression. It alleviates the need to perform certain search and
- replaces as described on page 264-265 of the Impression II manual (under
- "Advanced searching"), which are simple but annoying, by allowing the user to
- give Edit2Imp a file which will automatically be converted. Note that
- although the format is changed, a ! directory with !Run, !RunImage, !Sprites,
- DocData files, and chapter directories is not created - the Edit file is just
- loaded, modified and re-saved.
-
-
- Operation
- ---------
- When double-clicked on, Edit2Imp installs itself on the icon bar and
- provides a standard Info and Quit menu. To convert an Edit file, simply
- drag its icon to Edit2Imp's icon on the icon bar, and the file will be
- converted. If converting takes more than one-third of a second (as it
- normally will), the hourglass will be displayed until converting has
- finished. When it has, the original Edit file will have been modified to
- have the same format as Impression, although perfect results are not
- guaranteed - if the file looks a mess after running it through Edit2Imp, it
- would look exactly the same as if you had done the specified process on the
- text while it was in Impression.
-
- The dragged file must be on disc, so dragging from RAM or from another
- application doesn't work. Sorry. Also, files that have had their CR's changed
- to LF's (done by choosing CR<->LF from Edit's "Edit" submenu) cannot be
- converted. By the way, the program takes ASCII 10 in the Edit file to mean
- a CR, not ASCII 13, even though if you do do CR<->LF, you will see that the
- CR's are hex 0d - decimal 13. However, the converting still works for me at
- any rate, and the resulting output is the same, but if it is not so for you,
- contact me (address/phone no. later) and I will change it to include ASCII
- 13's.
-
- As Edit2Imp modifies the Edit file, it might be a good idea to back it up
- first, in case anything goes wrong (unlikely) or you decide that you didn't
- want to run the file through Edit2Imp in the first place.
-
- If you drag a non-Edit,file to Edit2Imp's icon, it will result in an error
- message giving instructions on what to do to the file (if applicable).
-
- When Edit2Imp is run, it grabs 128K of memory. This may seem excessive
- when you consider what the program does, but as you're not likely to use the
- program much, this amount is not so bad. Basically, Edit2Imp itself fits into
- 40K, but needs more memory during the converting process (I'm not going to
- try to explain why in writing), so if you allocate 40K using Wimpslot and
- drag a 20K Edit file, the program will crash (not fatally by any means - what
- happens is quite funny actually!), as it needs 40K plus the 20K equals 60K,
- and it's only got 40K - see? So the amount of memory it needs is 40K plus
- the size of your Edit file - I've allocated 128K to allow for up to 88K
- files, but you might want to decrease or increase this, depending on how big
- or small you file is.
-
- Incidentally, you should be able to convert Twin files as well, as long as
- they're settyped to FFF, but I'm not guaranteeing anything as I don't have
- Twin - apparently Edit and Twin use the same file format (according to the
- Impression manual), so you SHOULD be alright.
-
-
- Thanks
- ------
- Big thank-you's all round must go to :
- 1) Elliott Hughes, for writing the View to ASCII converter (published in the
- PCW workshop section of Personal Computer World, November 1990) - now you
- can go from View to ASCII/Edit to Impression!
- 2) Acorn, for this lovely machine, OS and C compiler.
- 3) My Archie, for putting up with me and my compiler.
- 4) Kerningham and Ritchie (I can't remember their first names), for inventing
- the C language, even if it has evolved a lot since then.
- 5) ITV, for "Mr. Bean" - you either love it or you hate it, and I love it!
- 6) Channel 4, for "Whose Line Is It Anyway".
-
- And finally, most importantly, absolutely, definitely, certainly, positively
- (ish), thanks go to Peter Sykes of APDL for suggesting that I write this
- program in the first place.
-
-
- If you feel so inclined, you can write to me at:
-
- 19 Corringham Road,
- Wembley Park,
- Middlesex,
- HA9 9PX
-
- Or phone me on 081 904-8878 and ask for Alexander (between 6 and 10 pm)
-
-
- Bye for now,
- Alexander Buckley,
- 14th April 1991
-