Extension: Generate random numbers without repetitions.

525 views
Skip to first unread message

Juan Antonio

unread,
Jul 20, 2017, 2:32:50 PM7/20/17
to MIT App Inventor Forum
Hi friends, I share this extension: "Generate random numbers without repetitions."



com.KIO4_Random.aix

Italo

unread,
Jul 20, 2017, 2:48:01 PM7/20/17
to MIT App Inventor Forum
Nice. What happens if I give the parameters:

min: 1
max: 5
quantity:10

?

Juan Antonio

unread,
Jul 20, 2017, 3:02:16 PM7/20/17
to MIT App Inventor Forum
Hi Italo,

you get  this String message: "Quantity too large."

Taifun

unread,
Jul 20, 2017, 3:42:10 PM7/20/17
to MIT App Inventor Forum
why are there properties to set/get min, max and quantity and additionally the Get method requires min, max and quantity as input parameter?
isn't that redundant?

Taifun

Tim Carter

unread,
Jul 20, 2017, 3:42:36 PM7/20/17
to MIT App Inventor Forum
Thank you Juan, never know when I might need this.

Have you thought of including upper and lowercase letters and special characters, this would then make a password generator!

Juan Antonio

unread,
Jul 20, 2017, 4:25:13 PM7/20/17
to mitappinv...@googlegroups.com

Hi Taifun, it is for get initial valors from Design-Properties, I think that isn't an inconvenence in code (sorry bad english).

#Tim, thank you, good idea password generator.


Abraham Getzler

unread,
Jul 20, 2017, 4:41:57 PM7/20/17
to MIT App Inventor Forum

Juan Antonio

unread,
Jul 20, 2017, 8:25:14 PM7/20/17
to MIT App Inventor Forum
Thank you Abraham.
Reply all
Reply to author
Forward
0 new messages