30.05.2015, 16:19
You cannot call functions while declaring global variables.
This code won't work:
Correct Way
But you can call functions while declaring local variables.This code will work:
This code won't work:
Код:
new global_var = random(255); main() { }
Код:
new global_var; main() { global_var = random(255); }
Код:
main() { new global_var = random(255); }