Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / random selection

Author
Message
ardeer
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location:
Posted: 24th Jan 2006 21:12
how do I randomly select all elements from an array without duplicating a selection

[/email]
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th Jan 2006 23:00 Edited at: 25th Jan 2006 23:01
You can use another array to track which elements have been used. Or better yet just use a multi-dimensional array to add the extra information.




ardeer
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location:
Posted: 26th Jan 2006 13:45
thanks for that

Login to post a reply

Server time is: 2024-11-27 05:48:23
Your offset time is: 2024-11-27 05:48:23