Use 'ProcedureReturn 0.0 + a*b' . This relates to this error posting. All further discussion should occur in the appropriate error thread.leonhardt wrote:"you should use 'Debug Strf(a*b)'."Demivec wrote:@leonhardt: 1. post bugs in the bug forum. 2. Don't repost bugs just because they haven't been solved yet. 3. It is not a bug, you are misusing the 'Debug' statement, you should use 'Debug Strf(a*b)'.
No,I don't think so,please explain this to me,test it yourself:
PureBasic 5.00 beta 6 is online !
Re: PureBasic 5.00 beta 6 is online !
Re: PureBasic 5.00 beta 6 is online !
but at least those two procedures should get the same result,regardless of the return type,right?MachineCode wrote:I read in the manual (or here on the forums?) that once you do a calc with a float, the result is converted to a float automatically; hence why you need to make the procedure return a float value ("Procedure.f").
poor English...
PureBasic & Delphi & VBA
PureBasic & Delphi & VBA
Re: PureBasic 5.00 beta 6 is online !
Thanks for the new Beta, Fred. I have no problems on Windows and my problems on Mac are approaching zero... 

Re: PureBasic 5.00 beta 6 is online !
Same here, almost everything is working nicely on OS X now, apart from a few stuffs like drag and drop, the progress has been very fast!!kenmo wrote:Thanks for the new Beta, Fred. I have no problems on Windows and my problems on Mac are approaching zero...

Re: PureBasic 5.00 beta 6 is online !
YES YES YES!!!
Beta 6 rocks! I love it!

"Daddy, I'll run faster, then it is not so far..."
-
- User
- Posts: 24
- Joined: Sat Jul 24, 2010 11:56 am
Re: PureBasic 5.00 beta 6 is online !
Hello Fred. PureBasic has come along nicely and especially the 3D features are really great in PB5...
... but (aw man, always these buts) I am *befuzzled* that we have reached version 5.0 and the joystick functions still only support one joystick with one single digital stick. That really blows my mind.
Could you please consider new joystick functions for a future version? I mean, we even have some kind of joypad standard for nowadays Windows (XBox360-Style).
... but (aw man, always these buts) I am *befuzzled* that we have reached version 5.0 and the joystick functions still only support one joystick with one single digital stick. That really blows my mind.
Could you please consider new joystick functions for a future version? I mean, we even have some kind of joypad standard for nowadays Windows (XBox360-Style).
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: PureBasic 5.00 beta 6 is online !
Thanks. 

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system