Hi,

I would like to create a “While Loop” which is completed when a random integer give the good number. The number created id used as index for an boolean array where I want to find a “true” value.

My test is under :

In output I set a number in array but all my number are equal to zero then I think my loop is wrong but I don’t understand why.

Thanks