I have this kind of a VI file and I need to add something in order to prevent numbers from repeating. Could you help?
Asked
Active
Viewed 641 times
1 Answers
2
Rather than filtering your list of numbers, you would be better off shuffling an array and taking the first few elements.
- Excludes any possibility of duplication
- Removes repeated checks
- Can be easily adjusted for various ranges
- Does not require any loops

Steve
- 963
- 5
- 16
-
Thank you. My professor insisted on doing it that way, but it is practically impossible, so I decided to quit and go in another direction. – xemxx Jun 10 '21 at 00:31