I recall this in the D3 manual and wondered why would anyone have such a
thing.

A=123
PRINT OCONV(A,"U0033")

yields CXXIII

I guess it was for incrementing chapters or some other formal/outline number
sequences. I don't know what the maximum number is but OCONV("25000","U0033)
yields MMMMMMMMMMMMMMMMMMMMMMMMM. 50,000 and 100,000 didn't work.

My XIV cents.
Mark Johnson




----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Thursday, October 19, 2006 4:25 AM
Subject: RE: RE: [U2] Roman Numerals


> The Chinese Year has always been wrong, since it is still assumes 01 Jan
as the start day of the year. I think I reported that to VMARK about 20
years ago...
>
> Brian
>
> >David A. Green wrote:
> >>> Does any one have a Digit to Roman Numeral converter they would like
> >>> to share?
> >
> >Ron White responded:
> >> How about ICONV/OCONV with the NR function code.  Look in the
> >> Basic Reference Manual index for roman numerals.
> >
> >A search on CDP reveals a couple interesting tidbits on this.
> >
> >According to Oliver Elphick, the NR conversion in Universe "uses a change
> >of alphabetic case to represent multiplication by 1000, so v=5 but
V=5000."
> >
> >According to Tom Rauschenbach, [sic] "the author of the NR conversion
> >(someone named Hal) says
> >that there was a reason for the upper/lower case distinction, but he
can't
> >remember what it was.  He also claims that the Chinese New Year is
wrong."
> >(I have no idea what that means.)
> >
> >The D3 equivalent (as if anyone here cares) is the user exit U33.
> >And the Reality equivalent is conversion MCDR.
> >R83 had conversion MCR.
> >
> >So many standards, so little time...
> >T
> >-------
> >u2-users mailing list
> >u2-users@listserver.u2ug.org
> >To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to