|
- Forum
- iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1190 |
Problems at number stack = 255 |
le 06/04/2005 @ 03:33 par Lou
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
|
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 ![](inc/img/smileys/eek.gif)
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
Réponse n° 1 -------- le 06/04/2005 @ 19:35 par Khertan
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
Try to make some constant ... if you have some constant number ... |
|
![Haut Haut](inc/img/general/haut.gif) |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 06/04/2005 @ 21:12 par aldweb
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
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 |
|
![Haut Haut](inc/img/general/haut.gif) |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 07/04/2005 @ 02:16 par Lou
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
Je te l'envois ce soir. |
|
![Haut Haut](inc/img/general/haut.gif) |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4 -------- le 07/05/2005 @ 06:51 par Lou
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
Salut Aldweb, As-tu des nouvelles sur mon petit problem de taille des stacks number et jump?
|
|
![Haut Haut](inc/img/general/haut.gif) |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5 -------- le 07/05/2005 @ 14:52 par aldweb
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
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 |
|
![Haut Haut](inc/img/general/haut.gif) |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 6 -------- le 07/05/2005 @ 15:53 par Lou
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
Merci bien Aldweb.
Desole a tous qui attendent la prochaine version! |
|
![Haut Haut](inc/img/general/haut.gif) |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 7 -------- le 17/05/2005 @ 21:05 par aldweb
![Anonyme Anonyme](inc/img/avatars/unknow.gif)
visiteur |
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! ![](inc/img/smileys/rolleyes.gif)
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 |
|
![Haut Haut](inc/img/general/haut.gif) |
![actif](inc/img/general/msg_a.gif) sujet actif
![clos](inc/img/general/msg_c.gif) sujet clos
![Important!](inc/img/general/msg_t.gif) Important!
![Nouveau](inc/img/general/msg_n.gif) Nouveau message -
![Rectifier](inc/img/general/edit.gif) Rectifier message
![Clôturer](inc/img/general/lock.gif) Clôturer sujet
![Remonter](inc/img/general/lockup.gif) Remonter
|
|