home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / t / textshell / !TextShell / Howtouse < prev    next >
Encoding:
Text File  |  1995-05-28  |  1.1 KB  |  37 lines

  1. How to use !TextShell
  2. =====================
  3. 1 parameter, entered in the icon bar menu, can be passed to
  4. your routine. Also passed is the length and text of a line,
  5. which should be processed and returned.
  6.  
  7. Changes to make:
  8. ================
  9. TO THE APPLICATION:
  10.  Rename it as your application, with a "!" at the beginning.
  11.  
  12. TO !Sprites:
  13.  Change the name of the sprite in !Paint to that of the
  14.  application, and draw it how you wish.
  15.  
  16. TO !Templates:
  17.  You may adjust the Info box using !Formed or similar, but
  18. do not add any windows or change the savebox.
  19.  If you do not have a template editor, leave it.
  20.  
  21. TO !RunImage:
  22.  MAKE THE FOLLOWING ADJUSTMENTS IN A TEXT EDITOR SUCH AS
  23. !ZAP OR RISCOS 3 !EDIT.
  24.  
  25.  Fill in the details from line 20-120.
  26.  
  27.  For the more advanced, you may wish to change the section
  28. from line 1220-1260
  29.  
  30.  Add your processing code into FNprocess_line
  31.      lines 1390-1430
  32.  Parameters passed:
  33.      parameter$   :   the value of your parameter.
  34.      llen%        :   the length of the line.
  35.      text$        :   the line.
  36.  The changes should be made to 'text$'. The result will be
  37. passed back, and the next line supplied.