Too many nested gosubs
Kenneth Brody
kenbrody at spamcop.net
Thu Nov 14 10:26:30 PST 2013
On 11/14/2013 1:05 PM, Richard Kreiss wrote:
[...]
> In many cases the folder with the pdf file may have well over 1000 pdf
> files to be deleted. The date check is the GOSUB routine which most
> likely is where the problem lies.
>
> This problem will not exist after this initial run as it will become part
> of a daily report run.
>
> However, I would like to know how many iterations of a gosub can be run
> before this error occurs.
GOSUBs can be nested up to 64 deep. However, why should the number of files
make a difference here, since I would hope that your subroutines issue a
RETURN when done?
--
Kenneth Brody
More information about the Filepro-list
mailing list