yes, I have tried it and ran into problems..QARun did not like it. I thought maybe I was using the wrong syntax or something?? but looks like it can't be done that is just bad I think...passing an array should be fairly common across all development tools???
I will look at declaring public arrays. Can they be seen if I try to access them through other scripts??
All PUBLIC data variables must be declared before each Main function is encountered, therefore declare all cross referenced PUBLIC data variable areas in all functions that require them.
One way around this is to design your script slightly differently and use library functionality and use only 1 Main function. The Public areas will still need to be declared before the Main function is encountered by the compiler, but you will only need to declare it in one place