Anonymous user
Largest int from concatenated ints: Difference between revisions
Largest int from concatenated ints (view source)
Revision as of 06:27, 30 January 2018
, 6 years ago→simple integers: simplified the NORM function.
m (→{{header|REXX}}: changed for format of the first two REXXes lists, added verbiage to the output.) |
m (→simple integers: simplified the NORM function.) |
||
Line 1,973:
exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
norm: arg i; #=word(z, i); er=' ***error*** ';
if \datatype(#,'W') then do; say er 'number' # "isn't an integer."; exit 13; end
return # /
{{out|output|text= when using the default (internal) integer lists:}}
<pre>
|