Spécial ! |
Version mobile de l'aldweb Site m.aldweb.com Ni Français, ni Anglais ?Essayez donc l'un de ces drapeaux :
|
|
Météo / Spam / www |
Météo Lyon
aldweb contre le SPAM
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1404 |
PP applet jump/branch question |
le 08/05/2006 @ 15:00 par bh77a
|
Monday, May 8, 2006
Good morning,
Do jumps/branches in a PP applet count against the 255 limit of the iziBasic jump stack?
Does the case-select example below (in PP) count as one jump or two (one for 1: and one for 2:)?
case ... 1:begin ... ... end 2:begin ... ... end end
Regards, bh77a |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 08/05/2006 @ 16:31 par aldweb
visiteur |
Hello bh77a,
PP is a real compiler (when iziBasic compiles in a p-code ran in a virtual machine), so all PP jumps are "hard compiled" links, they then do not count against the 255 limit of the iziBasic jump stack and are completely independant from iziBasic.
PP deals with the case statement in a very similar way that iziBasic does. A case statement is nothing else but an imbrication of successive IF / THEN / ELSE statements.
I hope my answer will help you...
Cheers,
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 08/05/2006 @ 16:47 par bh77a
visiteur |
Hi Aldweb,
Your answer was very helpful. Just wanting to make sure that the formatting of the string to return for datediff/timediff/dateadd/timeadd in a PP applet wouldn't count against the user in iziBasic.
Regards, bh77a |
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|
|
|
|
|