aldweb

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

m.aldweb.com


Neither French, nor English?

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




Weather / Spam / www

Lyon Weather


aldweb against spam


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

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1620

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1620  #ERROR: JUMP STACK OVERFLOW#

15/09/2008 @ 19:24
by Roy sommers

Anonymous



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
Write to Roy sommers   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
--------
15/09/2008 @ 22:27
by aldweb

Anonymous

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

Anonymous

visitor
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
Write to Roy Sommers   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
18/09/2008 @ 00:04
by aldweb

Anonymous

visitor
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
Write to aldweb   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 ^