home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / UTILS2 / X10XA2.ZIP / TIMER.CMD < prev    next >
OS/2 REXX Batch file  |  1994-01-15  |  613b  |  35 lines

  1. #
  2. #
  3. # Place some module definitions here
  4. #
  5. #
  6. DEFINE STAGE P1
  7. DEFINE FLOOR P2
  8.  
  9.  
  10. #
  11. #
  12. # Synchronize the timer with the external event (via the keyboard).
  13. # This resets the internal timer to 0. All future "timer" commands
  14. # will be offset from this keypress.
  15. #
  16. #
  17.  
  18. PAUSE
  19.  
  20.  
  21.  
  22. # At 10.5 seconds after the keypress, the following sequences will occur.
  23. # Since both FLOOR and STAGE use the same HOUSECODE (see DEFINE above), 
  24. # both modules may be triggered at the same time.
  25.  
  26. FLOOR STAGE ON TIMER 0:0:10.5 
  27.  
  28. FLOOR DIM 0 TIMER 0:0:20.0
  29.  
  30. STAGE OFF TIMER 0:0:30.0
  31.  
  32. :EXIT
  33. FLOOT OFF
  34. STAGE OFF
  35.