Tony,
Thanks for including all the information you could. It makes posts much easier to deal with.
The GOSUB stack is just what it says, in that when at runtime a program executes the GOSUB statement, it must create a small record of where it is GOSUBing from in order that when it hits a RETURN statement it knows where to RETURN to. It is presized at something like 2000 entries and so generally if you see this, it is a programming error (usually caused by foolishly using GOTO statements).
You can test if the stack size has changed by just running this program:
I=0
5000 I++
CRT I
GOSUB 5000
Which will stop with the error below when the stack is filled. If there is little or no change then it is likely that the GOSUB in question is the subject of some condition that is not correctly working on your migrated version. Given the name of the source code in question, I suspect that this is some kind of recursive subroutine that is called to manipulate some array or dynamic array. The stack size could have changed and you are unlucky to hit it, but it is more likely that the check for terminating the recursion is not terminating because of some data problem, algorithmic problem or similar.
I think that there is a hack to increase the stack size, but generally this is only needed for unusually long recursions and hence it isn't a good idea to increase it without knowing why you are increasing it.
http://markmail.org/message/3c3kpdp3lansed6u
Remember to use the search facilities.
Jim
> --
> Please read the posting guidelines at:
>
http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to
jB...@googlegroups.com
> To unsubscribe, send email to
jBASE-un...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/jBASE?hl=en