What happens with code outside macroScript ( )


#1

I have seen coders place code just before the macroscript starts, eg

code
variables
etc

macroScript ... ...
(

...

)

I looked among my scripts but could not find an example with code or variables, but I had plenty with comments. I noticed that if you drag-drop a file into max, all the comments are erased. So I am assuming that the same happens with anything else, variables etc.

But still, I assume the coder had their reasons and most importantantly, the code must have done its job.

My question is, at what point will max read things outside macroscript ( ) ?