home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 5_programming / repeat < prev    next >
Encoding:
Text File  |  2002-10-28  |  493 b   |  19 lines

  1. Synopsis:
  2.    repeat <count> <command>
  3.  
  4. Description:
  5.    This command allows any command to be executed any number of times.  One
  6.    possible use for REPEAT might be for warning messages from a script; the
  7.    warning is repeated to get your attention.  However, the potential uses
  8.    for this command are endless.
  9.  
  10. Examples:
  11.    To very boldly display the time each hour:
  12.       on ^timer "??:00*" {
  13.          repeat 3 echo B*** The time is $0!!B
  14.       }
  15.  
  16. See Also:
  17.    repeat(8)
  18.  
  19.