|
- Forum
- iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1190 |
Problems at number stack = 255 |
06/04/2005 @ 03:33 by Lou

|
Bonjour, I just bought the full version of iziBasic after playing with trial versions 4.2 and 5.0 for the last couple of months. Bravo, aldweb!
I've been working on porting an app I wrote in QuickBasic 15 years ago. I'm using a Tungsten T-3, with minosversion set to 5.0. I've run into a problem of "plantage" when the number stack hits 255 [not including the extras for parsing]. I get one of several responses, semmingly at random: - Locks up, does nothing, and requires reset - An "Enter" button at bottom right (there is no Enter button in my code) - Error:Exe Pointer out of Range, - Error: Jump Stack Overflow, - Error: Missing End of IF# - Probably 1 or 2 I've forgotten 
I, of course, have double and triple checked the code looking for missing end if's and the like. It's all good. I 'm able to make the problem come and go by adding and removing simple calculations to change the number stack 255. At 255, it crashes, below 255 it's good.
I wonder if it's not a coincidence that 255 was the limit on the number stack before version 5.0.
Any thoughts? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 06/04/2005 @ 19:35 by Khertan

visitor |
Try to make some constant ... if you have some constant number ... |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 06/04/2005 @ 21:12 by aldweb

visitor |
Lou,
The errors you get are quite strange, because they are all linked to the code stack, not to the data stack. So, at this stage and with this level of information, I have no guess about a potential issue.
Would you mind to send me your source code so that I can check all of that? I of course promess full confidentiality about it and always delete it from my device after use.
Et merci à toi pour le bravo.
Cheers
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 07/04/2005 @ 02:16 by Lou

visitor |
Je te l'envois ce soir. |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 07/05/2005 @ 06:51 by Lou

visitor |
Salut Aldweb, As-tu des nouvelles sur mon petit problem de taille des stacks number et jump?
|
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5 -------- 07/05/2005 @ 14:52 by aldweb

visitor |
Bonjour Lou,
Oui, j'avance... lentement et difficilement sur ton problème qui apparaît très "vicieux". Pour l'instant, j'ai du développer un débugger spécial qui trace et enregistre toutes les instructions les unes après les autres jusqu'au plantage.
A ce stade, je sais donc sur quelle instruction ça plante, que les pointeurs de piles sont OK. Mais je ne comprends pas encore pourquoi ça marche jusqu'à une certaine valeur n de A(n) et plus lorsque A(n+1).
Bref, ce bug est déjà celui sur lequel j'ai passé, et de très loin, le plus de temps ! Au point de bloquer tout développement... donc la prochaine version d'iziBasic arrivera un peu tardivement...
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6 -------- 07/05/2005 @ 15:53 by Lou

visitor |
Merci bien Aldweb.
Desole a tous qui attendent la prochaine version! |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 7 -------- 17/05/2005 @ 21:05 by aldweb

visitor |
Hello Lou,
Just to let you (and others) know that I think I fixed this bug...which kept me in bad mood for almost one month! 
I sent you an e-mail tonight with a beta release, for further testing by you, if you wish to do so of course.
Cheers
@+ aldweb |
|
 |
 topic active
 topic closed
 Sticky
 New message -
 Correct message
 Close topic
 Make sticky
|
|