Global variable Vs normal variable?

Hi everyone:

I have question:

~freq 500 vs
var freq=500

What are the difference in programming meaning between global and normal variables?

I understands the programming of var freq=500, but ~freq not. Or ~ whatever.

José

Hi everyone:

I have question:

~freq 500 vs
var freq=500

What are the difference in programming meaning between global and normal variables?
Page 13 of
https://ccrma.stanford.edu/~ruviaro/texts/A_Gentle_Introduction_To_SuperCollider.pdf
could help, as might the entire document.

So:

1 question: ~Freq SinOsc.ar(500, 0. 0.5);

2 question: var freq=SinOsc.ar(500, 0. 0.5);

Difference in programming meaning and computational function?

Thanks, Peter.
Now! I understands, the difference.