home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / batch / sputils.zip / BUTNPRES.DOC < prev    next >
Text File  |  1991-01-06  |  2KB  |  59 lines

  1. Button Press  version 1.0 (C) SPETER SOFTWARE,   January 1991.
  2.  
  3. This program will (optionally) display a text string (using the specified text
  4. attribute), and then wait for a key or mouse-button to be pressed.
  5.  
  6. The program was written in Borland's Turbo Pascal 5.5
  7.  
  8. Usage:
  9. ------
  10. 1:   BUTNPRES /h
  11.  
  12.         Output a help screen.
  13.  
  14. 2:   BUTNPRES [/n<char>] [/q] [/t] [[x y attr] message]
  15.  
  16.           /n<char>  (optional)  sets the separator used to mark a new-line;
  17.           /q        (optional)  causes quote marks at the beginning and end
  18.                                 of the message to NOT be deleted;
  19.           /t        (optional)  do NOT display the text cursor
  20.           x         (optional)  column message begins at, in the range [1..80];
  21.           y         (optional)  line message begins at, in the range [1..25];
  22.           attr      (optional)  character attribute [1..255], see SHOWATTR.EXE;
  23.           message   (optional)  a string of text (NOT including ANSI escape 
  24.                                 sequences);  the character  !  is used to force
  25.                                 a new-line in the message.  (/n can be used to
  26.                                 re-define the new-line character).
  27.  
  28.           NOTE:  If no (x,y) position & attribute are specified the message
  29.                  will be displayed at the current cursor position (and COULD
  30.                  including ANSI escape sequences).
  31.  
  32. Examples:
  33. ---------
  34. 1:   butnpres 1 3 7 Press a key (or mouse-button) to continue
  35.  
  36. Display a message at column 1 of line 3 (using text attribute 7), then wait
  37. for a button or key press.
  38.  
  39. 2:   butnpres press a key (or mouse-button) to continue
  40.  
  41. Display the message on the current line, then waits for the press.  This is 
  42. useful when you are not sure where  the cursor might be.
  43.  
  44. Correspondence:
  45. ---------------
  46.     Please address any comments to:
  47.  
  48.         Stephen Peter
  49.  
  50.     INTERNET:
  51.         steve@cad0.arch.unsw.oz.au
  52.  
  53.     POST:
  54.         SPETER SOFTWARE
  55.         P.O. BOX 643
  56.         LANE COVE
  57.         NSW  2066
  58.         AUSTRALIA
  59.