Variables declared in the global sections are strictly read-only in the other sections of a formula. This prevents you from sharing variables across pixels, which would give unpredictable results.
Example:
global: int x = 3 init: x = 5 ; Error because x is read-only here.
See Also
Global sections
Errors