Too many nested GOSUBS
Kenneth Brody
kenbrody at bestweb.net
Wed Dec 20 11:32:41 PST 2006
Quoting Fairlight (Wed, 20 Dec 2006 14:07:03 -0500):
[...]
> I'll be clear and direct in my question in an attempt to help him get
> one:
>
> Does the gosub counter get reset at the start of each new record, or is
> it continuous throughout the run of *clerk or *report no matter how many
> records you switch between?
It is reset every time you enter update mode. For example, the
following will not give you a "too many nested gosubs" error, no
matter how many times you press "T", even if you don't switch
records:
==========
::end:
::declare counter(5,.0,g):
@entsel::show "\{T} - test gosub w/o return":
::end:
nest::' "gosub" routine which won't "return":
::counter = counter + "1":
::show ("20","1") counter:
::end:
@keyT::gosub nest ; end:
==========
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list