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

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° 1022  ABOUTBOX again

le 19/12/2004 @ 14:26
par Douglas

Anonyme



Merry Christmas everyone,

Thanks Laurent for the update of iziBasic and speedy correction of the ABOUTBOX bug
(and thanks for the Christmas gift too).

I have, however, discovered another problem with the ABOUTBOX beginning with V. 3.1.

I thought the problem was my coding until I discovered that it worked right in programs compiled with v3.0. With programs compiled with v. 3.1 and 3.2, if the ABOUTBOX is brought up during a WAITEVENT when you click on "Ok" to exit the ABOUTBOX you are taken out of the program completely.

I have tried trapping it but that caused the program to lock up. Perhaps you can instruct me on how to trap it.

Thanks,
Douglas
Ecrire à Douglas   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 19/12/2004 @ 22:19
par aldweb

Anonyme

visiteur
Hello Douglas,

Don't thank me too much when, by solving a bug, I bring another one to you!

OK, I will look after this strange thing. Maybe try using DOEVENTS for the time being...

Cheers

@+
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 20/12/2004 @ 22:15
par aldweb

Anonyme

visiteur
Hello Douglas,

To figure out where the trouble was, I wrote and executed this quick program:
' Test.ibas
{CREATORID "TEST"}
{VERSION "1.0"}

CONST A$­­="Hello world"
ABOUTBOX A$­­
BEGIN
REPEAT
E=WAITEVENT
PRINT E USING 0
UNTIL E=-1
END


What I discovered is that WAITEVENT returns with a 0 no event value put in E when the user pops up the ABOUTBOX. This was not expected (WAITEVENT is supposed to return no 0 value event).
I found no other trouble.
So, I guess that your program exists because of your own coding...

I fixed this non blocking bug by having WAITEVENT (and DOEVENTS) returns with a 1002 event value, for information back to the program telling that the ABOUTBOX was displayed to the end user.

As this is not a blocking bug, I will not release a public version for it. I will wait to have a few other fixes to release one... and maybe, by that time, will it be version 4 with lots of improvements

Cheers

@+
aldweb
Ecrire à aldweb   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 ^