SmileBASIC コミュニティトピックV360 TheV3602015/10/18 06:26:55質問For some reason I keep getting out of range errors. Can someone look at the code?0そうだね 5返信プレイ済み2017/11/04 05:03:28に取得
SmileBASIC コミュニティ返信[1]親投稿TN21 Trinitro212015/10/18 8:39Well, RND has two parameters now. The first one is the seed ID, which is from 0-7, and the second one is the max value.1そうだね プレイ済み2017/11/04 05:03:28に取得
SmileBASIC コミュニティ返信[2]親投稿V360 TheV3602015/10/18 9:02The seed parameter is optional, though. When I tried using the parameter, the error still happened. Also, the error is in the attached screenshot.0そうだね プレイ済み2017/11/04 05:03:28に取得
SmileBASIC コミュニティ返信[3]親投稿TN21 Trinitro212015/10/18 9:20If EGG_EX>39 or EGG_EY>29, it triggers an error because you're asking it to print outside the screen boundaries.0そうだね プレイ済み2017/11/04 05:03:28に取得
SmileBASIC コミュニティ返信[4]親投稿TN21 Trinitro212015/10/18 9:22(LOCATE:1) means that the first parameter of LOCATE is causing the error. Keep in mind that you said DISPLAY 1 right before LOCATE and that means you're on the 40x30 lower screen.1そうだね プレイ済み2017/11/04 05:03:28に取得
SmileBASIC コミュニティ返信[5]親投稿V360 TheV3602015/10/18 9:40Whoops... I meant to select the top screen. I probably thought that 1 was the upper screen and 2 was the lower screen. Thanks!0そうだね プレイ済み2017/11/04 05:03:28に取得