SmileBASIC コミュニティトピックJosé A. jose12alex2015/11/22 03:48:15質問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そうだね 4返信プレイ済み2017/11/04 04:58:18に取得
SmileBASIC コミュニティ返信[1]親投稿Hanzo rzsense2015/11/22 5:21"RND(N)+1" will make an integer from 1 to N.1そうだね 未プレイ2017/11/04 04:58:18に取得
SmileBASIC コミュニティ返信[2]親投稿José A. jose12alex2015/11/22 5:25I 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そうだね プレイ済み2017/11/04 04:58:18に取得
SmileBASIC コミュニティ返信[3]親投稿Hanzo rzsense2015/11/22 5:32Maximum is 199 in your case. "RND(151)+50" will make a value from 50 to 200.1そうだね 未プレイ2017/11/04 04:58:18に取得
SmileBASIC コミュニティ返信[4]親投稿José A. jose12alex2015/11/22 5:33Oh yeah! i forgot the maximum was the value minus 11そうだね プレイ済み2017/11/04 04:58:18に取得