Common list elements: Difference between revisions

Content added Content deleted
(Added Wren)
m (→‎{{header|REXX}}: added some wording to the REXX section header.)
Line 8: Line 8:


=={{header|REXX}}==
=={{header|REXX}}==
This REXX version properly handles the case of duplicate entries in a list   (which shouldn't happen in a true list).
<lang rexx>/*REXX program finds and displays the common list elements from a collection of sets. */
<lang rexx>/*REXX program finds and displays the common list elements from a collection of sets. */
parse arg a /*obtain optional arguments from the CL*/
parse arg a /*obtain optional arguments from the CL*/