examples\book\digital-artists\chapter3\Listing3.7.ck
// Listing 3.7 An array of strings (the "Twinkle" lyrics)

//           (1) Declare and initialize array of strings for lyrics.
// make an array to hold words and syllables
["Twin","kle","twin","kle","lit","tle","star,",    //  (2) Object copy form of ChucK operator.
"how", "I","won","der","what","you","are."] @=> string words[];
                     // (3) ChucK figures out how big to create words[] array.
home .. language .. program .. examples