Anim8or Community
General Category => Ongoing Anim8or Development => Topic started by: Steve on March 05, 2014, 05:30:07 pm
-
If you declare a function named $main your script will initiate with a call to that function. It must return the type void and have no parameters or simply void:
void $main(void) { ... }
Other global executable statements are prohibited when there is a $main function, but global variable declarations are allowed.