Debian Codegraph @

examples/book/digital-artists/chapter1/Listing1.7Shorthand.ck

raw
1 // shorthand math with integers
2 220 => int myPitch;
3
4 // multiply by 2, in-place
5 2 *=> myPitch; // "times ChucK"
6
7 // in-place subtraction
8 110 -=> myPitch; // "minus ChucK"
9
10 <<< myPitch >>>;