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

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° 1282  v6 how many Jump ?

le 08/11/2005 @ 20:06
par Khertan

Anonyme



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 ...
Ecrire à Khertan   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 08/11/2005 @ 23:14
par aldweb

Anonyme

visiteur
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
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/11/2005 @ 00:04
par Khertan

Anonyme

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

Answer 2 :)
Ecrire à Khertan   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 09/11/2005 @ 00:11
par aldweb

Anonyme

visiteur
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
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 09/11/2005 @ 00:25
par Khertan

Anonyme

visiteur
"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 :)
Ecrire à Khertan   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 ^