トピック
José A. jose12alex

If it's possible, how can i make the "RND" command to have a minimum value? I mean, to have values from 1 or more than just 0.

1そうだね
プレイ済み
返信[1]
親投稿
Hanzo rzsense
"RND(N)+1" will make an integer from 1 to N.
1そうだね
未プレイ
返信[2]
親投稿
José A. jose12alex
I actually discovered that you can do it like: A=RND(150) A=A+50 So the minimum value is 50 and the maximum 200.
2そうだね
プレイ済み
返信[3]
親投稿
Hanzo rzsense
Maximum is 199 in your case. "RND(151)+50" will make a value from 50 to 200.
1そうだね
未プレイ
返信[4]
親投稿
José A. jose12alex
Oh yeah! i forgot the maximum was the value minus 1
1そうだね
プレイ済み