home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / ibm1 / do101j2.arj / CWAIT.SCR < prev    next >
Text File  |  1991-12-03  |  755b  |  28 lines

  1. .pg wi full clr cy
  2.     COMMAND NAME»gray«: »%t« ClearWait »ye«
  3.  
  4.     /CWAIT [{timeout}]
  5. /cw
  6.     Waits for »wh«communications input buffer to clear»#«.  If »cy«{timeout}»#«
  7.     is included, »%t«ClearWait»#« will wait until no characters
  8.     have been received for the period. Variables in {timeout} are
  9.     expanded.
  10.  
  11.     Press »bo«<esc>»#« to abort function and continue with the script.
  12.  
  13. .pg
  14.     EXAMPLES:
  15. »wh«
  16.     /CWAIT»#«
  17.         Will wait until the input buffer is empty.
  18. »wh«
  19.     /CWAIT 5»#«
  20.         Will until no character has been received for five
  21.         seconds.
  22. »wh«
  23.     /CWAIT %%Time»#«
  24.         Will expand »cy«TIME»#« and wait until no characters have been
  25.         received for that period of time.
  26.  
  27. /ENDEXEC CLEAR
  28.