On Mon, 4 Jun 2001, Pablo Manalastas wrote:

> I discovered my error, and it has nothing to do with initialized
> globals.  "Rhodes and McKeehan" states that (call-stack + local-vars)
> can not exceed 4K, and (app-globals + dynamic-alloc-mem) can not
> exceed 36K (for sdk-3.5)  I wrote a recursive-descent predictive parser
> which was using call-stack in excess of 4K, and my globals (initialized
> and not) was exceeding 36K.  So I just rewrote my parser:  I removed
> the recursive functions and replaced with programmer-implemented
> stack (a tiny stack), and did a hysterectory on my globals.  Now
> my program works like a breeze.

Hi Doc,

You might want to look at using MultiLink 
<http://www.djw.org/product/palm/multilink> later on if you ever need to
overcome the memory boundaries of PalmOS.

-xen

___ eric pareja ([EMAIL PROTECTED]) ~-=[O]=-~ Here, have a clue. Get the picture.
\@/ PGP key at http://gra.ph/~xenos/xenos.pgp <|PLUG|> http://gra.ph
 v  "Even the smallest person can change the course of the future."
    - Lady Galadriel in J.R.R. Tolkien's "The Lord of the Rings"

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to