Weather / Spam / www |
Lyon Weather
aldweb against spam
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1404 |
PP applet jump/branch question |
08/05/2006 @ 15:00 by 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
Answer n° 1 -------- 08/05/2006 @ 16:31 by aldweb
visitor |
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
Answer n° 2 -------- 08/05/2006 @ 16:47 by bh77a
visitor |
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 |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|
|
|
|
|