Is there a limit for Script library concatenatings/sizes?

We added code to an existing application template in 6.0.3 and 6.5 into a Script library.The library is concatenated to an existing hierarchy and now we get the message “Subscript out of range” if a agent starts that use a top-level script lib.

(i.e. the agent “Import” use the script lib “MainLib” and the hierarchy is:

MainLib > MainLib2 > Document > Document2 > DocEvents > CustomDocEvents > ObjectModell > “OurNewScriptLib”)

Is there any limit for concatenating Script Libraries ? Or any size limit ?

Subject: Is there a limit for Script library concatenatings/sizes?

Why don’t you turn on the debugger and see if you’re actually trying to use an array out of bounds?

I’ve nested libraries up to 10 deep in R5, so I doubt there’s any kind of limit to this. It’s all handled at compile-time anyway.

Subject: Is there a limit for Script library concatenatings/sizes?

Hi,

I’m absolutely NOT a developer but I know there is a 128K size limit on a script library.

If you add more code than the 128K it will be cut off when you save the library.

Hope it might help,

B/R

Morten Schaumann

Subject: I mean a size limit for concat more than one library…

Want I meant was to concat more than one library in a row. Simply three or four or more !But thanks for your answer. I already know that I could not add more than 128kb code to one script library. This is the reason because you use more than one by using “USE …” in another one…

Thanks !