Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
Ramdomize multiple arrays identically
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Erwin Moller, post: 4962031"] Hi, I don't think that can be accomplished in 1 go. Probably simplest approach is: 1) Create an array MyIndexes, containing 0,1,2,3.... Put in there the number of elements your original array contains. Doesn't matter which since they have the same amount of items. 2) randomize MyIndexes 3) read out MyIndexes, and rebuild the 2 arrays based on the found indexes in MyIndexes. Regards, Erwin Moller [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
Ramdomize multiple arrays identically
Top