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 # 1133 |
IZI5 - Bug in AboutBox? |
26/02/2005 @ 16:28 by Montalvo

|
Why and already working source code in 4.2 with a regular ABOUTBOX now doesnt work compiled with iziBasic 5?
A possible bug? Could anyone confirm it?
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 26/02/2005 @ 16:33 by aldweb

visitor |
In page 96 of the user manual (yes, I know, nobody reads these pages) is written: "The ABOUTBOX and MENU statements can now be set up and changed dynamically at runtime.". So, it might be worth doing a jump to the ABOUTBOX statement definition on page 37. In the Notes part, is written: "As from version 5.0, the AboutBox can be managed dynamically at runtime and is no more built once at compilation time. This means that you should define your AboutBox after the BEGIN statement to have it taken into account.".
Cheers
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 26/02/2005 @ 16:44 by Montalvo

visitor |
Ouch! (my front head is bleeding after been hit with that) 
Definitively, I need vacations, sleep well or drink less cofee.
Yeap. That solves the problem. By the way, I receive your updated manual, so I will modify the QuickRef according to it, and I will post it soon (this afternoon).
Thanks!
|
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 26/02/2005 @ 16:47 by enotar

visitor |
Can you explain a little more plz Maybe a sample of code Thank you |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 26/02/2005 @ 16:48 by aldweb

visitor |
Please cure quickly your head my friend 
I did not intend to hurt you 
I was just too happy to easily solve this first possible bug report for this brand new version 5 
Cheers
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5 -------- 26/02/2005 @ 17:00 by aldweb

visitor |
Sure,
Before you could do either:
ABOUTBOX "Hello" BEGIN ... END or
BEGIN ... ABOUTBOX "Hello" ... END
But you could not do:
ABOUTBOX "Hello" ... ABOUTBOX "Bye"
Now, you can do:
BEGIN ... ABOUTBOX "Hello" ... ABOUTBOX "Bye" ... END
Cheers
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6 -------- 26/02/2005 @ 17:03 by Montalvo

visitor |
Before iziBasic 5.0:
'tuno.ibas {creatorID "mCoU"}
const x$="Program created¶" const y$="by MComm" aboutbox x$+y$
Begin gprint "Hello!",50,50 wait End
Now, you have to MOVE the place where the ABOUTBOX is defined as follows:
'tuno.ibas {creatorID "mCoU"}
Begin
const x$="Program created¶" const y$="by MComm" aboutbox x$+y$
gprint "Hello!",50,50 wait End
P.S. Fronthead is now stitched.. 
|
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 7 -------- 26/02/2005 @ 17:09 by aldweb

visitor |
Answer to PS... Yes, but in return you get to be able to change your about box at runtime.
BEGIN ABOUTBOX "Program created by Montalvo" GPRINT "Hello!",50,50 WAIT ABOUTBOX "Program destroyed by Montalvo" GPRINT "Bye Bye!",50,50 WAIT END
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 8 -------- 26/02/2005 @ 17:24 by enotar

visitor |
Thank you but why in MENU there is the same problem. Cannot attach a menu from resources #ressource ID out of range# Resource :1100 Tkz |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 9 -------- 26/02/2005 @ 17:36 by aldweb

visitor |
Because, as error message says it, the resource ID should be in the [1..999] range as it is always the rule in iziBasic 
@+ aldweb |
|
 |
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 10 -------- 26/02/2005 @ 17:46 by enotar

visitor |
OK Is there a sample somewhere in the board on how to attatch a menu with a ressource? Thank you |
|
 |
 topic active
 topic closed
 Sticky
 New message -
 Correct message
 Close topic
 Make sticky
|
|
 |
|
 |
|