Extension: Generate random numbers without repetitions.

446 views
Skip to first unread message

Juan Antonio

unread,
Jul 20, 2017, 10:32:50 AM7/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, 10:48:01 AM7/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, 11:02:16 AM7/20/17
to MIT App Inventor Forum
Hi Italo,

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

Taifun

unread,
Jul 20, 2017, 11:42:10 AM7/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, 11:42:36 AM7/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, 12: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, 12:41:57 PM7/20/17
to MIT App Inventor Forum

Juan Antonio

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