examples\book\digital-artists\chapter1\Listing1.7Shorthand.ck
// shorthand math with integers
220 => int myPitch;

// multiply by 2, in-place
2 *=> myPitch; // "times ChucK"

// in-place subtraction
110 -=> myPitch; // "minus ChucK"

<<< myPitch >>>;
home .. language .. program .. examples