AC 2005: Limiations to script length?



Hello,

I have a script with ca 8500 lines. Running this script causes strange,
not reproducable misinterpretation and therefore mistakes.
One way that worked for me is to split the scriptfile into portions of
around 1000 lines, running one script after the other.

The question is, if there is a known limitation of the number of lines in a
script?

bye
joerg
.