nested gosubs

James Flanagan James at Flantec.com
Fri May 31 08:34:51 PDT 2013


5.7.0
FreeBSD 9

Thanks

Sent from my iPhone

On May 31, 2013, at 7:33 AM, Richard Kreiss <rkreiss at gccconsulting.net> wrote:

> 
> 
>> -----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?
> 
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list