Getting a random number between two integer variables.

Fredroypoulin

New member
To get a random number between 2 integer variables.

Why can't we use a variable expression like : RANDOM([lv=Variable_1],([lv=Variable_2])

(Simplified) : RANDOM ( Variable 1, Variable 2 )
 

Dm114

Well-known member
To get a random number between 2 integer variables.

Why can't we use a variable expression like : RANDOM([lv=Variable_1],([lv=Variable_2])

(Simplified) : RANDOM ( Variable 1, Variable 2 )
The 'Random' function has no arguments. So if you want to dynamically get a number in a range of values, you can refer to this post. Otherwise you can set a fixed range at creation time of a numeric variable (integer or decimal) checking the 'random' box.
 
Basically there are LOOOOOTSSS of different variations of random number generation that people could use from time to time. The ability to generate one random number is really enough, because that's so easily modified that we can make it into any random numbers we need. At the same time, I'm sure most of us (you included) would much rather the busy dev use his time to introduce something new, such as opening a particular class inside of an app, or the ability to detect WiFi signal strength for use in switching.
 

Fredroypoulin

New member
Well, I think that's the idea of having these discussions. Hope it can give ideas to the developers.
This application is already very good. One of the best I ever tried. I would say it's very "ergonomic", easy to use, comprehensive interface.
I like it because I know all the logic about computer programming, but I don't like to code !
 
Top