Difference between revisions of "Manuals/calci/DECK"
Jump to navigation
Jump to search
(Created page with "==DECK()== Generates a deck of cards. ==Examples== DECK(10) 8 DIAMONDS JACK CLUBS 2 SPADES JACK HEARTS 7 CLUBS KING HEARTS 5 CLUBS 6 CLUBS 4 SPADES KING DIAMONDS ACE HEART...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
==Examples== | ==Examples== | ||
− | DECK( | + | DECK() |
8 DIAMONDS JACK CLUBS 2 SPADES JACK HEARTS 7 CLUBS KING HEARTS 5 CLUBS 6 CLUBS 4 SPADES KING DIAMONDS ACE HEARTS 7 DIAMONDS 5 SPADES 3 CLUBS 10 CLUBS ACE CLUBS QUEEN DIAMONDS QUEEN SPADES 8 SPADES 6 SPADES 9 DIAMONDS 2 HEARTS 5 HEARTS ACE DIAMONDS 9 CLUBS 7 HEARTS 3 HEARTS 3 DIAMONDS 6 HEARTS ACE SPADES 4 DIAMONDS 8 CLUBS 4 CLUBS QUEEN HEARTS 2 CLUBS 5 DIAMONDS 10 SPADES QUEEN CLUBS JACK SPADES 7 SPADES JACK DIAMONDS 2 DIAMONDS 10 DIAMONDS 3 SPADES 4 HEARTS 10 HEARTS KING SPADES 9 HEARTS KING CLUBS 6 DIAMONDS 9 SPADES 8 HEART | 8 DIAMONDS JACK CLUBS 2 SPADES JACK HEARTS 7 CLUBS KING HEARTS 5 CLUBS 6 CLUBS 4 SPADES KING DIAMONDS ACE HEARTS 7 DIAMONDS 5 SPADES 3 CLUBS 10 CLUBS ACE CLUBS QUEEN DIAMONDS QUEEN SPADES 8 SPADES 6 SPADES 9 DIAMONDS 2 HEARTS 5 HEARTS ACE DIAMONDS 9 CLUBS 7 HEARTS 3 HEARTS 3 DIAMONDS 6 HEARTS ACE SPADES 4 DIAMONDS 8 CLUBS 4 CLUBS QUEEN HEARTS 2 CLUBS 5 DIAMONDS 10 SPADES QUEEN CLUBS JACK SPADES 7 SPADES JACK DIAMONDS 2 DIAMONDS 10 DIAMONDS 3 SPADES 4 HEARTS 10 HEARTS KING SPADES 9 HEARTS KING CLUBS 6 DIAMONDS 9 SPADES 8 HEART | ||
+ | |||
+ | ==References== | ||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 14:23, 4 February 2020
DECK()
Generates a deck of cards.
Examples
DECK()
8 DIAMONDS JACK CLUBS 2 SPADES JACK HEARTS 7 CLUBS KING HEARTS 5 CLUBS 6 CLUBS 4 SPADES KING DIAMONDS ACE HEARTS 7 DIAMONDS 5 SPADES 3 CLUBS 10 CLUBS ACE CLUBS QUEEN DIAMONDS QUEEN SPADES 8 SPADES 6 SPADES 9 DIAMONDS 2 HEARTS 5 HEARTS ACE DIAMONDS 9 CLUBS 7 HEARTS 3 HEARTS 3 DIAMONDS 6 HEARTS ACE SPADES 4 DIAMONDS 8 CLUBS 4 CLUBS QUEEN HEARTS 2 CLUBS 5 DIAMONDS 10 SPADES QUEEN CLUBS JACK SPADES 7 SPADES JACK DIAMONDS 2 DIAMONDS 10 DIAMONDS 3 SPADES 4 HEARTS 10 HEARTS KING SPADES 9 HEARTS KING CLUBS 6 DIAMONDS 9 SPADES 8 HEART