Please, what about a power operator "^" instead of pow() function just now you are working for 3.80 version?
If you add ^ for power arithmetic operations you can remove pow() function.
Keep in mind too that just an operator is better for readability...
Thanx Fred!
_______________
AL
Power operator for PB 3.80
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
More good reasons to deprecate Pow:
- Pow is not a typical BASICs word. Few BASIC dialects use it instead ^
- PB syntax philosophy supports keywords as entire names, Pow is an incomplete word.
- There is an inconsitence with other operators. In order to have coherence there should replace '*' by Mul(), '/' by Div(), '+' by Sum(), etc.
- Pow is not a typical BASICs word. Few BASIC dialects use it instead ^
- PB syntax philosophy supports keywords as entire names, Pow is an incomplete word.
- There is an inconsitence with other operators. In order to have coherence there should replace '*' by Mul(), '/' by Div(), '+' by Sum(), etc.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
I understand what he means:
If power stays Pow(), devide should be changed to Div() etc..
... me, I don't care ...
in fact, Pow() is on a Level like Sqr() or Log().
not an operation on the level like division or multiplication.
it's not even a bijective transformation, like division and multiplication are.
so, it's not that big argument I think.
If power stays Pow(), devide should be changed to Div() etc..
... me, I don't care ...
in fact, Pow() is on a Level like Sqr() or Log().
not an operation on the level like division or multiplication.
it's not even a bijective transformation, like division and multiplication are.
so, it's not that big argument I think.
oh... and have a nice day.