Metropoli BBS
VIEWER: roman.txt MODE: TEXT (ASCII)
a # 1 60 R ' r#roman n;i;Lio                                            '
a # a,[1]  ' Lio#0                                                      '
a # a,[1]  ' i#0 1000N''''Rn                                              '
a # a,[1]  ' r#0 5N10 10 10 10Nn#i[1]                                   '
a # a,[1]  ' n#,T(I4)J.<,T(0Sr_1 3J.X4=r[1;]),[0]r[0;]`R4=r             '
a # a,[1]  ' r#(i[0]R''m''),n/,T4 16R''XmXXdcmdlxclvixv''                   '
a # a,[1]  ' $0                                                         '
a # a,[1]  '"roman - convert integer to roman numerals                  '
a # a,[1]  '"from ''the apl handbook of techniques'' copyright 1978, ibm. '
a # a,[1]  '"-roman numerals may be required for certain types of page  '
a # a,[1]  '" or paragraph numbering.  they also illustrate that there  '
a # a,[1]  '" is a distinction between the value of a number and its    '
a # a,[1]  '" representation.  n is an integer greater than zero. r is  '
a # a,[1]  '" a character vector representing n as a roman numeral.     '
Lfx a
[ RETURN TO DIRECTORY ]