aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1360

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1360  Text Stack Overflow.

le 08/02/2006 @ 21:00
par Nevin

Anonyme



Hi,
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,
Nevin
Ecrire à Nevin   Poster une réponse  Haut

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

Anonyme

visiteur
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?

Cheers,
aldweb
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

visiteur
Yeah it is just not worth it for the few if any Palm OS 3.0 users.
Minoversion 3.5 it is.
Thanks,
Nevin
Ecrire à Nevin   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^