Permutations: Difference between revisions

Line 599:
DoPermutations(SourceList, SourceList's length)
--> result (value of Permlist)
{{1, 2, 3}, {2, 1, 3}, {3, 1, 2}, {1, 3, 2}, {2, 3, 1}, {3, 2, 1}}
{"123", "213", "312", "132", "231", "321"}</lang>
</lang>
 
--> Example 4 (Integers with concatenated results)
Line 605 ⟶ 606:
DoPermutations(SourceList, SourceList's length)
--> result (value of Permlist)
{{1"123", 2"213", 3}"312", {2"132", 1"231", 3}, {3, 1, 2}, {1, 3, 2}, {2, 3, 1}, {3, 2, 1}"321"}</lang>
 
=={{header|AutoHotkey}}==