Page 1 of 1

Posted: Thu Jan 09, 2003 10:15 pm
by BackupUser
Restored from previous forum. Originally posted by Bodind.

I've just tried to compile PBeditor 3.51 source and it said there
is a bad syntax on the RSET() function used into the PickColor proc !
But it respect the syntax then what's up ? ? ?

Dominique

Posted: Thu Jan 09, 2003 11:54 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.

Good question...

Just downloaded the sources from
http://cvs.purebasic.com/
and no error while compiling.

Well one bug is still there (that I know of):

viewtopic.php?t=2411


Have a nice day...

Franco

Posted: Fri Jan 10, 2003 5:54 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

> Well one bug is still there (that I know of):
> viewtopic.php?t=2411

Fix it, you got the sources. :)

cya,
...Danilo
(registered PureBasic user)

Posted: Fri Jan 10, 2003 8:51 am
by BackupUser
Restored from previous forum. Originally posted by fred.

Hello Dominique,

You have new v3.50 compiler ?

Fred - AlphaSND

Posted: Fri Jan 10, 2003 9:28 am
by BackupUser
Restored from previous forum. Originally posted by Bodind.

Hello, fred !
Yes, of course !

I've updated the compiler to 3.50, but the pb is there in
PickColour.pb :
///////
Procedure.s PickColor_ColorValue(Value)

If PickColor_Decimal
ProcedureReturn RSet(Str(Value), 3, "0")
Else
ProcedureReturn "$"+RSet(Hex(Value), 2,"0")
EndIf

EndProcedure
//////
The compiler tells: Line 59: RSet() : incorrect number of parameters.

But i can't see any mistake !
Originally posted by fred

Hello Dominique,

You have new v3.50 compiler ?

Fred - AlphaSND
Dominique

Posted: Fri Jan 10, 2003 10:31 am
by BackupUser
Restored from previous forum. Originally posted by tinman.

Nobody ever replied to this bug report I submitted a while ago:

viewtopic.php?t=2624



--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)

Posted: Fri Jan 10, 2003 2:19 pm
by BackupUser
Restored from previous forum. Originally posted by Bodind.

Ok, i've found the problem !
It's not a bug in PureBasic, but i don't completly
understand why :

I use many external libraries and one is StringEx that contains 2 funstions named "RSet$(a, b) and LSet$(a, b)" the internal are:
Rset(a, b [,c]) and LSet(a, b [,c]
Then at start the editor says nothing as it does usualy: "duplicate name . . ." But here it took the external syntax into account and he refuses the 3rd optionnal parameter ! ! !

I think we all need some rules for external libs function's names ? ? ?
Originally posted by tinman

Nobody ever replied to this bug report I submitted a while ago:

viewtopic.php?t=2624



--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
Dominique

Posted: Fri Jan 10, 2003 3:58 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

Because of the '$'... I should add better test I guess.

Fred - AlphaSND