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
Rset() pb !
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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)
> 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)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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 !
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 !
DominiqueOriginally posted by fred
Hello Dominique,
You have new v3.50 compiler ?
Fred - AlphaSND
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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)
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)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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 ? ? ?
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 ? ? ?
DominiqueOriginally 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)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm