Order by pair comparisons: Difference between revisions

Content added Content deleted
m (added whitespace.)
m (→‎{{header|REXX}}: added a comment in the REXX section header.)
Line 364: Line 364:




Extra code was added to the REXX program to handle incorrectly formatted answers.
Extra code was added to the REXX program to handle incorrectly formatted answers.

Also note that lists in REXX start with unity, not zero.
<lang>/*REXX pgm orders some items based on (correct) answers from a carbon─based life form. */
<lang>/*REXX pgm orders some items based on (correct) answers from a carbon─based life form. */
colors= 'violet red green indigo blue yellow orange'
colors= 'violet red green indigo blue yellow orange'