Does anyone know a reasonable method to shuffle paired data?
For instance if I have 2 arrays:
dim Name(100) as string
dim Email(100) as string
I can't use name.shuffle and email.shuffle because they will no longer match.
If I use:
dim NameAndEmail(100, 1) as String
...
// populate
// NameAndEmail(x, 0) = Name
// NameAndEmail(x, 1) = Email
...
then
NameAndEmail.Shuffle
It appears to mix the dimensions together. That is email will appear
in the name dimension randomly.
Or is this write a shuffle routine from scratch case?
Cheers!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>