home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / BEEHIVE / ZSUS / Z3HELP-6.LBR / X.LBR / XECHO.HZP / XECHO.HLP
Text File  |  2000-06-30  |  2KB  |  58 lines

  1. ;
  2.                                   XECHO.COM                                   
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                2k (9)    F95E  1.0        Jay Sage 3/87            Z3COM11
  6.  
  7.   1- Syntax  2- Examples of Use                                               
  8.  
  9.  
  10.    Extended Echo is a ZSIG utility for echoing  a character string to the CON:
  11. and LST: devices.  Special  character  expressions  are  interpreted  by XECHO
  12. to permit the display of lower- as well as upper-case text, control chars, and
  13. chars with their high-bit set.  There  is  even provision  to echo the command
  14. line separator char (semicolon) and rubout char in case these are needed.  The
  15. output can  be toggled between the  CON and LST device  as often as desired on 
  16. the  command  line.  A  built-in  help  display lists  the  special  character
  17. sequences.
  18.  
  19.    XECHO should be renamed to ECHO.COM for use.
  20. :1
  21.  
  22.    Syntax:  ECHO /...      The help screen is displayed.  Use '%/' to
  23.                                echo a leading '/'
  24.  
  25.         or  ECHO <string>  The string is echoed to the console.  The
  26.                                following special forms are recognized:
  27.  
  28.            ^c  -->  convert character 'c' to a control character
  29.            \c  -->  set the high-bit of character 'c'
  30.            %>  -->  switch output to lower case
  31.            %<  -->  switch output to upper case (initial state)
  32.            %C  -->  switch output to CON (console) device (initial state)
  33.            %L  -->  siwtch output to LST (list/printer) device
  34.            %P  -->  same as %L
  35.            %R  -->  output rubout character
  36.            %:  -->  output ";"
  37.            %^  -->  output "^"
  38.            %\  -->  output "\"
  39.            %%  -->  output "%"
  40. :2
  41.  
  42. Examples of Use:
  43.  
  44.    a. A0:BASE>echo t%>esting^m^jone%: two%: %<three!<cr>
  45.  
  46.       echoes to console:  Testing
  47.                           one; two; THREE!
  48.  
  49.    b. A0:BASE>echo %p^lt%>his is a new page^m^j%c%<P%>rinter on new page<cr>
  50.  
  51.       echoes to printer:  (formfeed)
  52.                           This is a new page
  53.  
  54.       echoes to console:  Printer on new page
  55. 81).
  56.  
  57.    b. The user should keep in mind what he is scanning for when he uses the
  58.       file name buffer facility.