nested gosubs

James Flanagan James at Flantec.com
Thu May 30 17:59:11 PDT 2013


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

email:	James at Flantec.com
mobile:	760-458-8498
home: 	219-221-6219
text:		7604588498 at txt.att.net

aim:		Flantec
oovoo:	Flantec
Skype:	Flantec
ichat:	Flantec at mac.com

home:	1901 Cidermill Road
		Michigan City, IN 46360

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20130530/d8e2c895/attachment.html 


More information about the Filepro-list mailing list