CAKEWALK PRO AUDIO User Manual page 415

Cakewalk
Table of Contents

Advertisement

!=
inequality
<
less than
<=
less than or equal to
>
greater than
>=
greater than or equal to
Some examples of operator usage are:
Formula...
Example...
x = y
Alias x is assigned the value of alias y whenever the value
of alias y changes
x = y + 2 * z
Alias x is assigned the value of alias y plus 2 times the
value of alias z whenever either y or z changes
x = (y + 2) * z
Alias x is assigned the value of alias y plus 2, then
multiplied by the value of alias z whenever either y or z
changes
x = y | z
Alias x is assigned the value of alias y bitwise OR the
value of alias z whenever either y or z changes. If
y==0xF0 and z==0x07, then x is set to 0xF7
x >= y ? x : y
If x is greater than or equal to y, use x; otherwise, use y
x == y ? 1 : $F0
If x is equal to y, use 1; otherwise, use $F0 (hexadecimal),
or 240 (decimal)
LUCK ? 7 : 11
If the value of alias LUCK is YES or non-zero, use 7;
otherwise, use 11
A ? x : (B ? y : z)
If A then use x, else if B then use y, else use z
11-33

Advertisement

Table of Contents
loading

Table of Contents