The case for strict parameter types
While refactoring a bit the way some “special” functions were handled in DWScript, I came about a case where the compiler started accepting strings as Math functions parameters.
While this comes naturally as an “interesting” side-effects of automatic typecasts, it left a feeling of “wrongness”, accepting literal code like Abs(“foo”) and then failing at run-time is asking for trouble.
Just a quick notice that the DWScript source code has begun a transition to Delphi 10.2.3 up from Delphi XE.
A belated Happy New Year and Best Wishes for 2017!
DWScript now has support for the BigInteger type, which supports numbers with as many decimals as the memory allows.
PhantomJS