> > There isn't a CheckStack()-type function, per se, but it's relatively > easy for you to figure out on your own. One popular method is to capture > the address of a stack variable known to be very near the beginning of the > stack (e.g. the first local variable in PilotMain). The difference > between that address and the most recently allocated local (e.g. the last > local defined in the current scope) is approximately how much stack you > have used. As for how much is left, that kind of depends on the unit/OS on > which you are running, and other environmental factors. I don't remember > the ballpark figures, but I'm sure somebody will chime in. Thanks, I have a PalmIIIx. Is the stack size, a fixed value that is always the same for any running program. Or, is is some fixed value that is affected by the environment as well. How much stack is available for the IIIx? I have seen numbers like 3 to 4K. But that is pretty vague. Mike -- ----------------------------------------------------------------- Discussion Group: http://www.halcyon.com/ipscone/wwwboard/ Protect your constitutional rights. Your favorite one may be next! -----------------------------------------------------------------
