General Category > Ongoing Anim8or Development

ASL $main() function

(1/1)

Steve:
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.

Navigation

[0] Message Index

Go to full version