let's say i have a row of 12 numbers: 0 1 2 3 4 5 6 7 8 9 10 11
is there a way in basic to permutate randomly the row?
per mutation of a string in BASIC
-
- Posts: 54
- Joined: January 30th, 2015, 1:43 pm
- Contact:
-
- Site Admin
- Posts: 677
- Joined: April 5th, 2013, 10:55 am
- Contact:
Re: per mutation of a string in BASIC
Look up "Knuth Shuffle"
Mike
Mike
Who is online
Users browsing this forum: Google [Bot] and 1 guest