random numbers

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 25 times

random numbers

Post by siliconchip »

hi all ive been working on a flowchart for the lotterys thunderball but im having trouble writing code to stop the numbers being picked repeating them selves which they do on occasion has any one any ideas of some code i can add at some point in the program to stop numbers that are being picked from being repeated
Attachments
THUNDERBALL.fcf
(25.9 KiB) Downloaded 243 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: random numbers

Post by medelec35 »

Hi siliconchip,
I posted a lottery generator here:
http://www.matrixmultimedia.com/mmforum ... =26&t=8025
That does not repeat the same number.
Martin

Post Reply