GLBasic forum

Main forum => Bug Reports => Topic started by: Armoured on 2008-Jun-19

Title: Bug in version 5.299
Post by: Armoured on 2008-Jun-19
Hi
After the web update I have try to compile the "PaperPlane" example and:

*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.170 - 3D, NET
"PaperPlanes.gbas"(24) error : wrong number or aguments : "RGB" called with 3 args. Required: 2006133030 to 3

The line with the error is: col = RGB(0xff, 0xff, 0xff)

And now the latest version in the forum is the 5.298 how I can downgrade?
Title: Re: Bug in version 5.299
Post by: BumbleBee on 2008-Jun-19
No, there's no bug. Everything's OK. :)
Quote from: Armoured
And now the latest version in the forum is the 5.298

The latest is 5.299.:)

Edit:
I've just made some tests and i didn't find anything. (Not yet) =D

Cheers
Title: Re: Bug in version 5.299
Post by: Moru on 2008-Jun-19
I'm getting similar things whatever I compile (Running Ubuntu Linux with Wine):

Code (glbasic) Select
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.170 - 3D, NET
"Test.gbas"(13) error : wrong number or aguments : "PRINT" called with 3 args. Required: 4096 to 3
Title: Re: Bug in version 5.299
Post by: Kitty Hello on 2008-Jun-20
Thank you. Very stupid bug. Fixed soon, stay tuned.
Title: Re: Bug in version 5.299
Post by: Neurox on 2008-Jun-20
I'm getting another problem:
Code (glbasic) Select


*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.170 - 3D, NET
"..\FunzioniComuni\FunzioniComuni.gbas"(551) error : wrong number or aguments : "STARTPOLY" called with 1 args. Required: 0 to 0



Neurox
Title: Re: Bug in version 5.299
Post by: BumbleBee on 2008-Jun-20
LOL. What kind of bug is that, Gernot?  =D Everything works fine on my system.  :booze:

Cheers
Title: Re: Bug in version 5.299
Post by: Kitty Hello on 2008-Jun-20
A variable is not initialized. So the minimum required arguments might be anything. Luckily it's sometheing negative for most of you. Update online, soon.
Title: Re: Bug in version 5.299
Post by: Moru on 2008-Jun-20
It's working fine in windows for me, Bumblebee. It's just in Linux/Wine I get the errors :-)
Title: Re: Bug in version 5.299
Post by: Armoured on 2008-Jun-20
Ok 5.300 works well


Thanks
Title: Re: Bug in version 5.299
Post by: Moru on 2008-Jun-20
From log_e.gbas:

   // #include "xx.h" jetzt direkt aus dem Projektverzeichnis möglich.

Eh? :-)
Title: Re: Bug in version 5.299
Post by: Moru on 2008-Jun-21
I get this problem still on startpoly: (Btw, shouldn't it be wrong number OF arguments?)

Code (glbasic) Select

STARTPOLY cr+pjsproffset // draw the image

"Bitmap Font Routines3.gbas"(528) error : wrong number or aguments : "STARTPOLY" called with 1 args. Required: 0 to 0
Title: Re: Bug in version 5.299
Post by: Kitty Hello on 2008-Jun-23
You can import include files from the project folder for inline, now. If you don't know what it means, just ignore it ;)
Oh! Startpoly requires no argument!? I have to investigate.