// Enumerate all 5-card poker hands in lexicographical order. cards = new array multifor card = [["2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A"], ["D", "C", "H", "S"]] cards.push[card] for hand = cards.combinations[5] println[hand]