home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
d
/
drummer
/
Documents
/
Commands
next >
Wrap
Text File
|
1995-04-07
|
2KB
|
46 lines
This is a list of all the commands currently implemented
in The Drummer. More may be added later.
Multiple commands can be used on one line. They must be
separated by a semi-colon (;)
You cannot have more than one Goto on a give line, BUT
it is permissable to have multiple conditional goto's
on one line, as well as one unconditional goto, if you
want.
Beware, however, at the time of writing the commands
are processed during play. This means that if there is a
load of commands in a certain line, there may be a slight
undesirable delay at the end of that line.
-----Command list:
The basic commands:
Goto <line_number> - Relocates the sequence
pointer to <line_number>
Stop - Stops the sequence playing
Loop <number> - Loops the current line <number>
of times
-----The counter
The counter can be used mainly to repeat sections of a sequence a set
number of times, before moving onto a new part, but it can be used
for more complicated sequences.
The counter is automatically reset to 0 when the sequence is played,
but not when it is 'continued'.
ResetCounter - Resets the counter
Inc <number> - Increments the counter by <number>
Dec <number> - Decrements the counter by <number>
If <expression> Goto <line_number> - Conditional Goto
(<expression > can contain any
equation that would return a true
or false value, e.g. counter=1,
counter>5 ['counter' contains the
current counter value])