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°1392

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° 1392  #Error: Jump Stack Overflow#

le 27/04/2006 @ 05:31
par Nevin

Anonyme



Hi,

I have to different programs that normally run fine, but after several minutes of use produce the following error:
#Error: Jump Stack Overflow#

I assume that I am somehow not clearing the # stack, my other program I get a similar error for Text Stack. How do I make sure that these are cleared so that my program does not run into problems after being run for long periods of time?

Thanks for your help,
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 27/04/2006 @ 13:25
par bh77a

Anonyme

visiteur
Hi,

What do you have the minimum OS set to? In regards to the Jump Stack Overflow, do you exceed the limit of 255 GOSUB/GOTO jumps? To help with the text stack overflow have you tried setting some variables as constants? Of course, these are all just random thoughts gleaned from the information regarding these errors that is present in the manual... I am by no means an expert.

Regards,
bh77a
Ecrire à bh77a   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 27/04/2006 @ 14:52
par bh77a

Anonyme

visiteur
Hi again,

You might want to check into clearing the text and number stack from time to time using the CLEAR [v-v|c-c] statement. Information is provided on this on page 19 of the iB manual.

Regards,
bh77a
Ecrire à bh77a   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° 3
--------
le 27/04/2006 @ 19:33
par aldweb

Anonyme

visiteur
In regards to the Jump Stack Overflow, do you exceed the limit of 255 GOSUB/GOTO jumps?

This is it, some instructions use this stack, like for FOR/NEXT, REPEAT/UNTIL, GOSUB/RETURN, but not GOTO dear bh77a (did I write a dummy thing in the user manual?).
So, your application must be made of some kind of recursive GOSUB/RETURN that keeps incrementing until you reach the overflow... Try optimizing your code somehow else, linear programming instead of recursive programming...

For the Text Stack, it must be a similar issue while using the A$­­() array variable, overpassing its upper limit as defined with the DIM statement.

You might want to check into clearing the text and number stack from time to time using the CLEAR [v-v|c-c] statement.
Good try bh77a, but this will not make it. The A-Z and A$­­-Z$­­ variables are at fixed positions and clearing them will not release their reserved space.
And, indeed, iziBasic manages memory allocation in a fixed way. There is no freeing of memory possible at execution time with things like REDIM for arrays or clearing a single variable.

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° 4
--------
le 27/04/2006 @ 21:06
par bh77a

Anonyme

visiteur
Hi Aldweb,

Thanks for the clarification. I only quoted the manual on Page 75 referring to Compiler Errors: Jump Stack Overflow... "Advice: decrease the number of labels and (or) GOSUB/GOTO instructions." ;)

Regards,
bh77a/Brian
Ecrire à bh77a   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° 5
--------
le 28/04/2006 @ 09:19
par aldweb

Anonyme

visiteur
Hello bh77a,

This is an error in the manual. The early versions of iziBasic would require the jump stack for GOTO, this is no more the case since ages. I will update the manual accordingly in the next release.

Cheers,
aldweb
Ecrire à aldweb   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 ^