Cecil
19+ years progress programming and still learning.
I was recently doing some comparisons of the ABL language to that of JavaScript. I've noticed JavaScript had EXP function witch only requires a single parameter the 'exponent', and the function returns ex, where x is the argument, and e is Euler's constant, the base of the natural logarithms. The ABL does not do this natively.
Also JavaScript also has a POW() function which is more identical to that of ABL's EXP( ) function.
Additionally, Excel also has EXP() function and only requires a single parameters (see attached screen shot).
Conclusion:
ABL's EXP() function should be renamed to a new function call POW() and a new version of the EXP() function should only have a single input parameter to be in-line with the rest of the mathematical world.
Or alternatively:
Amend the existing EXP() function to allow only a single parameter which represents the 'exponent' value and the 'base' value to become automatically equal to Euler's number constant (2.7182818284590452353602874713527...)
Reality:
Nothing is going to change as this will not provide any backward compatible functionally for existing ABL code.
Or am I completely wrong about the whole thing?
Also JavaScript also has a POW() function which is more identical to that of ABL's EXP( ) function.
Additionally, Excel also has EXP() function and only requires a single parameters (see attached screen shot).
Conclusion:
ABL's EXP() function should be renamed to a new function call POW() and a new version of the EXP() function should only have a single input parameter to be in-line with the rest of the mathematical world.
Or alternatively:
Amend the existing EXP() function to allow only a single parameter which represents the 'exponent' value and the 'base' value to become automatically equal to Euler's number constant (2.7182818284590452353602874713527...)
Reality:
Nothing is going to change as this will not provide any backward compatible functionally for existing ABL code.
Or am I completely wrong about the whole thing?