home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities / _edit2imp / !Edit2Imp / !Help < prev    next >
Encoding:
Text File  |  1991-04-14  |  4.4 KB  |  101 lines

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