Four is magic: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: added wording to the REXX section header (concerning where the default numbers were taken). |
m →{{header|REXX}}: added a caveat to the REXX section header (concerning the maximum number supported). |
||
Line 237:
=={{header|REXX}}==
The numbers used for the default were taken from the '''Kotlin''' example.
Numbers are limited to 3,003 decimal digits, the maximum number that the '''$SPELL#''' REXX program will handle.
<lang rexx>/*REXX pgm converts a # to English into the phrase: a is b, b is c, ... four is magic. */
numeric digits
parse arg x /*obtain optional numbers from the C.L.*/
if x='' then x=-164 0 4 6 11 13 75 100 337 9223372036854775807 /*use these defaults?*/
|