Source language: Translate to:

Improved Random & Functions

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

Improved Random & Functions

Postby Tony Kroos » Sun Jun 02, 2013 11:17 pm

1. More options for Random command
- define range for random generator (now it's from 0 only)
- include option to generate unique non-repetitive numbers (from given range, to avoid tricks with listbox)

2. Add a type of "CheckBox" parameter to display in function's CALL dialog box. It's [%alias] = "True/False" when Checked/Unchecked.

See pic for details
Image
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: Improved Random & Functions

Postby Gaev » Mon Jun 03, 2013 4:17 am

Tony Kroos:
1. More options for Random command
- define range for random generator (now it's from 0 only)
- include option to generate unique non-repetitive numbers (from given range, to avoid tricks with listbox)

Take a look at ...

http://www.scriptedlogic.com/neoFREE3.htm
gk1Random - Returns a random number from within a range specified by minimum and maximum values ; including negative numbers.

... and also ...

http://www.scriptedlogic.com/neoHOW1.htm
Random Selection of items from a list

http://www.scriptedlogic.com/neoHOW2.htm
Non-repetitive Random Selection of items from a list
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to NeoBook Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest