Generating Random number

Generating a random number for users in my app, let’s say I make it to generate from a count of 1-500,I hope a number will not be repeated twice?,
and how can I exclude an already generated number from the ones to be generated, thanks in advance

This is easily done. Just create a list of numbers from 1 to 500 (block is in the list drawer). Then fetch and remove a random item.

3 Likes

Another similar method:

6 Likes

Amazing, thanks so much

Thank you ,you are sweet

1 Like

This is a single user,that means I could make this work for multiple users with CLOuD variable right?

Sure. By the way, you can edit your posts instead of creating a bunch of short posts. It keeps the forums more organized.

4 Likes