nested gosubs
Richard Kreiss
rkreiss at gccconsulting.net
Fri May 31 07:33:49 PDT 2013
> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of James Flanagan
> Sent: Thursday, May 30, 2013 8:59 PM
> To: filepro-list at lists.celestial.com
> Subject: nested gosubs
>
> All:
>
> I am new to the group, so if this has been asked and answered previously, it
> would have been prior to my joining.
>
> I program filepro using a lot of nest gosubs because i find that it keeps my
> code very easy to read and review. That said, i am aware of the limit of 16
> nested gosubs, and have tried to program within that limitation. However, a
> client has managed to unearth a particular path of usage that results in the
> "too many nested gosubs error". However, i have not been able replicate
> what the client is seeing thus far.
>
> is there anything like a system maintained field within Filepro that will tell you
> how many nested gosubs deep you are at a given time that i could show on
> the screen for debug purposes? If not, does anyone have an idea of how to
> do something similar to this without having to modify the code at each and
> every gosub (there could literally be 100's) to add and subtract from a
> counting variable. Thanks in advance for your contributions to this.
>
> James Flanagan
> Flantec.com
James,
What version for filePro?
What OS?
More information about the Filepro-list
mailing list