Anonymous user
Largest int from concatenated ints: Difference between revisions
m
→{{header|REXX}}: added a comment.
m (→{{header|REXX}}: changed/added comments and whitespace, changed indentations, changed wording in the REXX section header.) |
m (→{{header|REXX}}: added a comment.) |
||
Line 1,446:
do while z\==''; index=1 /*keep examining the list until done.*/
big=isOK(word(z,1)) /*assume that first integer is biggest.*/
/* [↓] check the rest of the integers.*/
do k=2 to words(z); #=isOK(word(z,k)) /*obtain an an integer from the list. */
L=max(length(big), length(#)) /*get the maximum length of the integer*/
|