hopefully, there must be way.
in 3dsmax, as scripts start getting huge / complicated, i learned from bobo / wahooney / neale / tim hormis >> how to break rollouts into separate peices and rather than writing so many global stuff, we can simply write one global structure and add so many functions to use any where.
my questions are:
1- if i have 10 procedures which i need to call them from some UI, then
- is it must to make each procedure global.??
- is there a way to make one global structure / library and put all of them in one file.
2- we can't have procedure inside procedure ? right?
3- is it possible / logical
- in a script, first define layout / controls
- then define all procedures ( local )
- then define all events >> controls binding to functions...
or totally wrong ??
hope to hear soon
thanks
haseeb