home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 355.lha / echo_v1.07 / echo.readme < prev    next >
Text File  |  1990-03-12  |  2KB  |  45 lines

  1.  
  2. ECHO                          George Kerber                            08/28/89
  3.  
  4.  
  5. This new echo command should be almost totally compatible with the AmigaDOS 
  6. echo command which this replaces.  This means that you can replace your 
  7. current version of echo (AmigaDOS or ARP) with this echo and all of your
  8. batch/script files will work okay with only a few exceptions.  If you are
  9. using the FIRST and LEN option for the AmigaDOS echo command, my echo does
  10. not support this.  In the current Amiga environment, without command line
  11. substitution and (real) piping, I can't see any use for the FIRST and LEN
  12. options.  This shouldn't be any restriction.  Also, I'll be damned if I can
  13. figure out how to let the user enter a quote from the command line.  To
  14. print a literal quote, escape a 'q'.  See the docs.
  15.  
  16. Okay, so I got carried away with options.  With this echo command you can
  17. place text anywhere on the screen with any color or attribute and any
  18. background color.  See the echo.examples script to see what can be done
  19. with this versatility.
  20.  
  21. I never know how much error checking to do on the user entered options.  
  22. Complete error checking can help a user who is having trouble with the
  23. program.  But complete error checking makes the program larger.  Should the
  24. program ignore bad option values (like trying to move the cursor to
  25. line 2005) or should it inform the user what the allowed values are?  As an
  26. exercise in programming, I elected to try and check for every possible error
  27. the user could make.
  28.  
  29. One error that I don't know how to catch is a missing quote.
  30.  
  31.                    1> echo "see the missing quote....
  32.  
  33. My echo will think that no string was entered and simply produce a blank
  34. line as if no string was entered at all.  The AmigaDOS and ARP echo's catch
  35. this, anyone have any ideas????
  36.  
  37.  
  38.  
  39.                                 George Kerber
  40.                                 19756 E. Linvale Drive
  41.                                 Aurora, Colorado  80013
  42.                                 (303) 693-2890
  43.                                
  44.                                 Compuserve: 74010.2132
  45.