WilliamM
07-05-2008, 03:57 PM
When I test my latest compilation snappy script I get a "Catalog Error" saying: "Maximum number of globals is 110".
I kind of doubt that I have that many, but it is possible. Is there any way to work around this? ie. Declaring some of my variables as something other than global? (At this point, they are all global.) There is not a lot of opportunity to "reuse" variables, especially since the compilation is just an import, import, import of a bunch of stand-alone scripts. And, as stand-alones, they require a certain number of unique variables.
Also, it would be really nice if I could use the import function with my portal scripts, especially considering that the portal compilation is much less likely to complain about my exceeding a given number of globals, using arrays, having imports like binascii, etc.
I kind of doubt that I have that many, but it is possible. Is there any way to work around this? ie. Declaring some of my variables as something other than global? (At this point, they are all global.) There is not a lot of opportunity to "reuse" variables, especially since the compilation is just an import, import, import of a bunch of stand-alone scripts. And, as stand-alones, they require a certain number of unique variables.
Also, it would be really nice if I could use the import function with my portal scripts, especially considering that the portal compilation is much less likely to complain about my exceeding a given number of globals, using arrays, having imports like binascii, etc.