Compare operations, Nop command, Jump command – Apple DVD Studio Pro 4 User Manual
Page 492

Compare Operations
There are seven compare operations that you can use to compare the selected element
to the selected GPRM.
• = (equal): Executes the command if the two values are the same.
• != (not equal): Executes the command if the two values are not the same.
• > = (greater or equal): Executes the command if the selected GPRM is larger or the same
as the selected element.
• > (greater): Executes the command if the selected GPRM is larger than the selected
element.
• <= (smaller or equal): Executes the command if the selected GPRM is smaller or the
same as the selected element.
• < (smaller): Executes the command if the selected GPRM is smaller than the selected
element.
• & (and): Performs a bit-wise “and” operation between the two values and executes the
command if the bits set to 1 in the selected GPRM are also set to 1 in the selected
element. See
for information on bit-wise operations.
Note: You need to have a basic understanding of working with binary numbers to be
able to use these operations.
Nop Command
The Nop (no operation) command provides a placeholder function. Anytime you add or
insert a new step into a script, it is set to Nop. If a script encounters a Nop command
while running, it immediately skips to the next command. If the Nop command is the last
command, the script stops running and the title stops playing.
Note: When a script is run as a pre-script, it reacts differently to having a Nop as the last
command line. With a pre-script, if the last command is a Nop, it is treated as if it were
an exit pre-script command, and the element the pre-script is assigned to displays as
normal.
Jump Command
Jump commands are usually the last step executed in a script, because they result in
another element (menu, track, or script) starting to play.
492
Chapter 20
Creating Scripts