Post Reply 
Syntax Problems with map() and apply()
05-27-2016, 08:01 AM
Post: #8
RE: Syntax Problems with map() and apply()
(05-27-2016 04:21 AM)Joe Horn Wrote:  Alternative method for generating a shuffled deck of 52 cards:

rand(52,1,52)►L1 [Note: rand must be spelled in lowercase]

One step. No looping. TEVAL reports that this method takes 0.001 seconds in Home. That's pretty fast. Smile

thank you Joe, very nice!
I wonder why rand() hasn't an item in the Catalog of the Prime (Help)...

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Syntax Problems with map() and apply() - salvomic - 05-27-2016 08:01 AM



User(s) browsing this thread: 15 Guest(s)