Generating Random Number In BasicMaker

Post Reply
Mennochio
Posts: 14
Joined: Tue May 26, 2020 6:20 pm

Generating Random Number In BasicMaker

Post by Mennochio »

Is there a function to generate a random number?
SuperTech
SoftMaker Team
SoftMaker Team
Posts: 3188
Joined: Wed Mar 11, 2020 5:31 pm

Re: Generating Random Number In BasicMaker

Post by SuperTech »

Yes, you can use RND() function to generate a random number from 0 to 1 and then nest it with other functions to get the desired results.

For example, to get random number from 1-30, you can use it like :

Code: Select all

Int(0 + Rnd * 31)
Please check your private message inbox for an important message.
Post Reply

Return to “BasicMaker 2021 for Windows”