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 #1282

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1282  v6 how many Jump ?

08/11/2005 @ 20:06
by Khertan

Anonymous



Hi ...

How many jump ("GOSUB") can we make with the version 6 of iziBasic ... because i think i pass the limit ...

Salut ...

Combien de jump ("Gosub") peut on effectuer avec la version 6 de iziBasic ... car je crains avoir depassé la limite ...
Write to Khertan   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
--------
08/11/2005 @ 23:14
by aldweb

Anonymous

visitor
Hello Khertan,

There are 2 ways to understand your question:


1. how many GOSUBs can be put in a source code?

You may code as may GOSUBs as you want, there is no limit in this area.

The limit is in the number of labels.

User manual page 17 of version 6.0 says that "You can put up to 255 labels and user defined variables in one source code".
Understand : (labels + user defined variables) <= 255


2. how many overlapping GOSUBs can be executed in a row?

The Jump Stack is 256 items big. Other statements use it (FOR/NEXT, WHILE/WEND...), but it prooved to be far enough so far. I never succeeded to use more than 10% of its capacity with my software so far.


Cheers,
aldweb

@+
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
--------
09/11/2005 @ 00:04
by Khertan

Anonymous

visitor
How my god ... i do it :)

Answer 2 :)
Write to Khertan   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
--------
09/11/2005 @ 00:11
by aldweb

Anonymous

visitor
Didn't you get a Jump Stack Overflow error message at execution time?
Did you build some kind of recursive routine?
Because, really, 256 jumps stored in the stack is huge...


@+
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° 4
--------
09/11/2005 @ 00:25
by Khertan

Anonymous

visitor
"Didn't you get a Jump Stack Overflow error message at execution time?"
Yes i have one ... but too late of one gosub

"Did you build some kind of recursive routine?"
Of course :)
Write to Khertan   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 ^