i was wondering if there was a more efficient way to make a deck of cards than:
Code:
Code:
:52→dim(L1
:Disp "CREATING DECK...
:For(A,1,4
:0→L1(A
:End
:For(A,5,8
:1→L1(A
:End
:For(A,9,12
:2→L1(A
:End
:For(A,13,16
:3→L1(A
:End
:For(A,17,20
:4→L1(A
:End
:For(A,21,24
:5→L1(A
:End
:For(A,25,28
:6→L1(A
:End
:For(A,29,32
:7→L1(A
:End
:For(A,33,36
:8→L1(A
:End
:For(A,37,40
:9→L1(A
:End
:For(A,41,44
:10→L1(A
:End
:For(A,45,48
:11→L1(A
:End
:For(A,49,52
:12→L1(A
:End
:4→dim(L2
:For(A,1,4 //for the suits
:For(B,1,A
:B→L2(A
:End
:End