1,374 questions
1,493 answers
3,332 comments
265 users
Ah - syntax thing... I need a comma at the end of the evaluate: message Working code is:
| index clock | index := EventVariable new initialValue: 0. clock :=(1 bpm: !BPM) triggerEvery: !div. clock evaluate: (index <+ (index +clock)), index.
| index clock |
index := EventVariable new initialValue: 0.
clock :=(1 bpm: !BPM) triggerEvery: !div.
clock evaluate: (index <+ (index +clock)), index.