home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsd / drummer / Documents / Commands next >
Text File  |  1995-04-07  |  2KB  |  46 lines

  1. This is a list of all the commands currently implemented
  2. in The Drummer.  More may be added later.
  3.  
  4. Multiple commands can be used on one line.  They must be
  5. separated by a semi-colon (;)
  6.  
  7. You cannot have more than one Goto on a give line, BUT
  8. it is permissable to have multiple conditional goto's
  9. on one line, as well as one unconditional goto, if you
  10. want.  
  11.  
  12. Beware, however, at the time of writing the commands
  13. are processed during play.  This means that if there is a 
  14. load of commands in a certain line, there may be a slight
  15. undesirable delay at the end of that line.
  16.  
  17. -----Command list:
  18. The basic commands:
  19.  
  20. Goto <line_number>                 - Relocates the sequence
  21.                                      pointer to <line_number>
  22.                             
  23. Stop                               - Stops the sequence playing
  24.  
  25. Loop <number>                      - Loops the current line <number> 
  26.                                      of times
  27.  
  28. -----The counter
  29. The counter can be used mainly to repeat sections of a sequence a set 
  30. number of times, before moving onto a new part, but it can be used 
  31. for more complicated sequences.
  32. The counter is automatically reset to 0 when the sequence is played,
  33. but not when it is 'continued'.
  34.  
  35. ResetCounter                       - Resets the counter
  36.  
  37. Inc <number>                       - Increments the counter by <number>
  38.  
  39. Dec <number>                       - Decrements the counter by <number>
  40.  
  41. If <expression> Goto <line_number> - Conditional Goto
  42.                                      (<expression > can contain any 
  43.                                       equation that would return a true 
  44.                                       or false value, e.g. counter=1, 
  45.                                       counter>5 ['counter' contains the 
  46.                                       current counter value])