Hi,

In  " ChucK : Language Specification > Concurrency & Shreds" i read about using global variables.

Unfortunately i don't succeed changing the variables in a way that the function uses this changed value of the variable. It keeps on using the old (initial)
 value  of this variable. What am i doing wrong??
This is my script: