McNuggets problem: Difference between revisions

Content added Content deleted
Line 793: Line 793:


=={{header|Frink}}==
=={{header|Frink}}==
This is a nice demonstration for Frink's <CODE>multifor</CODE> loop which can perform arbitrarily-deeply-nested loops in a single statement.
This is a nice demonstration for Frink's <CODE>multifor</CODE> loop which can perform arbitrarily-deeply-nested loops in a single statement. The "inner" (rightmost) loops can use values set by the "outer" (leftmost) as part of their bounds.
<lang frink>a = toSet[0 to 100]
<lang frink>a = toSet[0 to 100]