>We are getting 'Do nesting too deep' occasionally when running foxpro v2.6 for unix on a multiuser system
>
>Could anyone shed any light on this problem?
As far as I remember in FP2.x you're limited to 32 nesting do calls. When you call a program/procedure/function, it may also call another and that another calls another... hitting that limit. ie: You start your first do with a do myscreen.spr. A valid code in it calls a function which in turn calls another...
When it hits 32 (if 32) deep you reach the limit. Similar is read level which is limited to 5. To prevent it you ideally use foundation read (see foundation read in help). For do it's much the same. Design your calls that wouldn't go that much deep.
To debug, temporarily set your on error routine that would list you the called program(n...0). You could then optimize it not to use to much deep calls.
Cetin