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

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° 1620  #ERROR: JUMP STACK OVERFLOW#

le 15/09/2008 @ 19:24
par Roy sommers

Anonyme



I wrote a very simple program which has no Arrays in it, and only letters for number variables and A$ type symbols for text. The program runs properly and gives the right answers, but after it ends it prints:
#ERROR: jUMP STACK OVERFOW#
Does anybody know what might cause that, and how I can get rid of it.
Thanks, Roy
Ecrire à Roy sommers   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 15/09/2008 @ 22:27
par aldweb

Anonyme

visiteur
Hello Roy,

Make sure that all your loops are correctly closed, that there are no missing ENDIF, RETURN... that kind of thing.

Here is some sample code that would for sure generate that kind of error message:
BEGIN
GOSUB _Loop1
END

_Loop1:
GOSUB _Loop2
RETURN

_Loop2:
GOSUB _Loop1
RETURN

This is quite obvious, it is much less in a complete and complex source code...

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 16/09/2008 @ 15:12
par Roy Sommers

Anonyme

visiteur
I thought it was my sequence of if statements, but I replaced them with a case statement and got the same result. It turns out, that although I had an end statement I had not provided a pathway to it, so the program was ending with an error statement.
A simple goto took care of the problem.
Thanks,Roy
Ecrire à Roy Sommers   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 18/09/2008 @ 00:04
par aldweb

Anonyme

visiteur
Good pick Roy, I forgot about the missing END statement hypothesis (or not reaching it somehow)...

You may have more than one END statement in your source code (but only one BEGIN, or to be more precise : only the last BEGIN found will be considered as the program's entry point by the iziBasic compiler, all other BEGIN statements are dismissed). So, instead of putting a GOTO to the END you put somewhere, you could instead include another END.

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 ^