プレイ日記
klonoa hellkolbod
whats wrong with line 12
0そうだね
プレイ済み
返信[1]
親投稿
V.G.Lover messi-416
take away the # and put $ behind a and b
0そうだね
プレイ済み
返信[2]
親投稿
klonoa hellkolbod
i did that as well change the wording to it and it still lists a error
0そうだね
プレイ済み
返信[3]
親投稿
James Batman73002
And in line 5 you use inproper grammar
0そうだね
プレイ済み
返信[4]
親投稿
klonoa hellkolbod
heh typos i will fix that also you mean line 6
0そうだね
プレイ済み
返信[5]
親投稿
James Batman73002
lol yeah
0そうだね
プレイ済み
返信[6]
親投稿
Stewart segludian1
#A, and #B are constants used to check bit flags from the Button() command. Button() and #A for instance will be 0 if [A] is not pressed and a non zero value otherwise. So you want a different variable like say ret$. The other problem is you are asking users to type in two values. You don't want that. Instead ask for one variable then check that against "A" or "B" to get the right course of action
0そうだね
プレイ済み
返信[7]
親投稿
Stewart segludian1
I think you want something like the attached. Unless you are doing something fancy like button presses or menu selections.
0そうだね
プレイ済み
返信[8]
親投稿
klonoa hellkolbod
until without repeat what does that mean cause i dont want this to loop
0そうだね
プレイ済み
返信[9]
親投稿
Stewart segludian1
on lines 15 and 16 you need to check if the result is "A" or "B". The repeat should be before the input so you loop until you get a valid response. Don't want then player sending garbage to your code.
0そうだね
プレイ済み
返信[10]
親投稿
klonoa hellkolbod
how do you check if its valid
0そうだね
プレイ済み