[net.micro.cpm] DbaseII errors

Jack H. Smith <jhsmith@Crdc.ARPA> (01/14/85)

	Hello fellow hackers;
       

	Is anyone out there familiar enough with dbaseII to explain the
	"TOO MANY FILES OPEN" error message.... I've written a few menu-
	driven packages, and they all work well, except for the inter-
	mittent error of too many files being open...
	I'm aware of the fact that if the USE command is issued without an
	argument, all open files should be closed, but even this tactic
	doesn't seem to work.
	Is anyone aware of a different approach to this problem, or has 
	anyone found a way around it?
	Please send your responses to me at CRDC, and I'll forward the
	solution to the net, if there is one.

	Thanks, 
	JACK H. SMITH

pencin.dlos@XEROX.ARPA (01/15/85)

Check yu code to determine if you are properly 'RETURNING' from you
sub-menu or command modules.Dbase keeps a STACK of 'DO's that must be
popped by issuing a return. If this stack overflows you will get the TOO
MANY FILES OPEN error. Make sure you always return to your MAIN MENU via
a RETURN and not a direct call to that menu.

Lowans.Henr@XEROX.ARPA (01/16/85)

"TOO MANY FILES OPEN" occures when more than 16 Command files are opened at once.
										Paul