My view is that ooRexx should be honourably able to get away with this:
with numeric digits 1, you have to first code something like the
understandable
  numeric digits 2
before using
  numeric digits 18

the code
  numeric digits 1
  numeric digits 2
  numeric digits 18
  say 2/3
yields
  0.666666666666666667


On Mon, 9 Nov 2020 at 20:47, WalterPachl via Oorexx-devel <
oorexx-devel@lists.sourceforge.net> wrote:

> Regina begs to differ :-)
>
> Parse Version v
> Say v
> numeric digits 1
> numeric digits 18
> say digits()
>
> Z:\HM>regina 18
> REXX-Regina_3.9.1(MT) 5.00 5 Apr 2015
> 18
>
> Z:\HM>rexx 18
> REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
> 4 *-* numeric digits 18
> Error 26 running Z:\HM\18.rex line 4: Invalid whole number
> Error 26.5: DIGITS value must be a positive whole number; found "18"
>
> Erich Steinböck <erich.steinbo...@gmail.com> hat am 9. November 2020 um
> 10:35 geschrieben:
>
> This one stunned me!
>
> ~~~
> numeric digits 1
> numeric digits 18
> -- Error 26.5:  DIGITS value must be a positive whole number; found "18".
> ~~~
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to