aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1022

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1022  ABOUTBOX again

19/12/2004 @ 14:26
by Douglas

Anonymous



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
Write to Douglas   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
19/12/2004 @ 22:19
by aldweb

Anonymous

visitor
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
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
20/12/2004 @ 22:15
by aldweb

Anonymous

visitor
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
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^