Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !

Mobile version of
the aldweb Site

Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]

Weather / Spam / www

Lyon Weather

aldweb against spam

To receive news about this website, consider subscribing to our Newsletter.
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News


   visitors online

What do you think of the new design of the aldweb Site?
Great !
So ugly...
forum.gifForum - iziBasic - Topic #1360

Forum - Forum
iziBasic - iziBasic

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1360  Text Stack Overflow.

08/02/2006 @ 21:00
by Nevin


I have recently recieved the error "Text Stack Overflow" when trying to compile with Izibasic. So I read the compiler errors section of the Izibasic manual and set as many constants (ex. CONST A$­­="Hi!") as possible. I got my text stack down to 199/200, and it compiles, but when I attempt to run the application I get the "Text Stack OverFlow Error" message again. The application runs fine if I set the minoversion to 3.5, but I was wondering how low I would have to get my text stack before it will execute properly without the minoversion 3.5 and if there are any other tricks I can use (besides chaining, it would be to difficult for this application) to bring my text stack size down.

Thanks for your help again,
Write to Nevin   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
09/02/2006 @ 20:00
by aldweb


Hello Nevin,

In theory, if your stack goes down to 199/200 at compilation time, the "Text Stack Overflow Error" should not happen at runtime. But, it is always better to keep a small free stack of 5 to 10, so not having the text stack over 190.

Chaining would not solve the issue as Text and Number stacks are passed while chaining, only the Code stack is reset.

So, the only "easy" way is indeed to set MINOSVERSION to 3.5. It is not my fault if the heap memory was very limited in the earlier Palm devices...

Another way would be to use String resources in a resource file and load them whenever needed in variables with a PP applet I wrote not long ago. This would be more work and you would have to make sure that doing so would not put your Numbers and Code stacks in danger.

So, the only real question is: is your project worth to keep it compatible with devices equipped with Palm OS < 3.5 ?
Will there many users equipped with such old devices interested with your application?

Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
09/02/2006 @ 20:59
by Nevin


Yeah it is just not worth it for the few if any Palm OS 3.0 users.
Minoversion 3.5 it is.
Write to Nevin   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
Forum Topic  Forum 

^ Top ^