Gosub error
Jay R. Ashworth
jra at baylink.com
Thu Oct 18 08:09:52 PDT 2007
On Thu, Oct 18, 2007 at 10:55:31AM -0400, Don Coleman wrote:
> I have a *clerk posting process which contains 11 gosub commands. These are
> all individual "then statements", none of them nested. However, one "then
> statement" does contain two consecutive gosubs (gosub one;gosub two). Up
> until this week I would see an occasional program termination stating "too
> many nested gosubs". This would mostly occur overnight, after their system
> maintenance has completed and users are again active on the system. I would
> almost never see the "too many nested gosubs error" during the day.
>
> This week I have seen a substantial increase in the number of gosub errors
> occurring during the day. Since I don't believe any of the gosubs are
> nested I'm unsure as why I am receiving the "too many nested gosubs" error.
grep for SCREEN commands; running one from inside a gosub is the
canonical reason for this error. SCREEN does not pop the gosub stack.
I think I'm remembering that correctly. Does it have to be combined
with the GOSUB being in field-code to break this?
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
More information about the Filepro-list
mailing list