プレイ日記
DerpTias SneekATTACK11
uhhh...
3そうだね
プレイ済み
返信[1]
親投稿
C. Norris 06495a
Why are you using push?
0そうだね
プレイ済み
返信[2]
親投稿
Oscar PwnageBlock
This code doesn't really make sense... Why initialize the array with a non-zero size if you're going to push values anyways? Also, you can't really compare an array with a number. That's sure to give you a type mismatch. Maybe you meant to use a value inside the array? ( A[1]==2 )
2そうだね
プレイ済み
返信[3]
親投稿
V360 (2DS) TheV3602DS
It looks like you are trying to use PUSH for inputs, but it's not what the command is supposed to be used for. Maybe use input instead? (after removing the PUSH statements and the DIM) INPUT "1-7",SEL IF SEL==1 THEN:... And so on.
0そうだね
プレイ済み
返信[4]
親投稿
DerpTias SneekATTACK11
what im trying to do is to randomize a number 1- 7. then if its a certain number it goto
0そうだね
プレイ済み
返信[5]
親投稿
C. Norris 06495a
Have you tried the RND command?
0そうだね
プレイ済み
返信[6]
親投稿
Oscar PwnageBlock
As C. Norris said, you can use the RND command, which receives a number as a parameter, and returns a number between zero and the number you sent as the parameter minus 1. That means, for example, if you were to do... A=RND(6) ...then the value of A would be a number between 0 and 5.
0そうだね
プレイ済み