Debian Codegraph @

examples/book/digital-artists/chapter3/Listing3.7.ck

raw
1 // Listing 3.7 An array of strings (the "Twinkle" lyrics)
2
3 // (1) Declare and initialize array of strings for lyrics.
4 // make an array to hold words and syllables
5 ["Twin","kle","twin","kle","lit","tle","star,", // (2) Object copy form of ChucK operator.
6 "how", "I","won","der","what","you","are."] @=> string words[];
7 // (3) ChucK figures out how big to create words[] array.
8