McNuggets problem: Difference between revisions

Line 793:
 
=={{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. The "inner" (rightmost) loops can use values set by the "outer" (leftmost) as part of their bounds.
<lang frink>a = toSet[0 to 100]
 
490

edits