Jump to content

Cartesian product of two or more lists: Difference between revisions

m
→‎version 1: added wording to the REXX header section.
m (→‎version 1: changes some whitespace and comments.)
m (→‎version 1: added wording to the REXX header section.)
Line 2,487:
=={{header|REXX}}==
===version 1===
This REXX version isn't limited by the number of lists or the number of sets within a list.
<lang rexx>/*REXX program calculates the Cartesian product of two arbitrary-sized lists. */
@.= /*assign the default value to @. array*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.