PB 2.80 for Windows - Add Math Command...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.


[== MathCommand ==]
-------------------
Still miss a math command for following: "a = 2 ^ 4" :wink:
Would be nice to see it as standard math command in the next version...



PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win98SE + Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

Have you looked at El_Choni's MathExtras library??

You can do this: a=IPow(2,4)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Yes, i have this lib... havent see the IPow command :wink: - But hey... it would be really nice to have all math commands build in as standard in PureBasic, like ^ command too - because its a standard math operation sign :wink:



PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win98SE + Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

I agree with you, coz
Still miss a math command for following: "a = 2 ^ 4" :wink:
I have to iterate in a loop to become such a handy number.
2 ^ 4 is setting the fifth bit !


Siggi
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by redacid.

And there are some more "things" that would be handy to have it directly built in PureBasic.... have a look at "What I really need...". Thanks :)

regards,
Redacid
---
Only Amiga makes it possible!
Post Reply