トピック

Please help for Petit Computer!!

I need help. I tried to do this: IF INPUT = "example" THEN PRINT "Example." I also tried: IF INPUT == "example" THEN PRINT "Example." Please help!
3そうだね
未プレイ
返信[1]
親投稿
KuroHana elijahpwg
do: @LOOP INPUT EXAMPLE$ IF EXAMPLE$=="Example" THEN PRINT"Hi":ELSE GOTO @LOOP
1そうだね
プレイ済み
返信[2]
親投稿
TekeMan gameboyfan12345
This is smileBASIC, not petit computer...
0そうだね
プレイ済み
返信[3]
親投稿
V360 TheV360
That's why they said Petit Computer.
0そうだね
プレイ済み
返信[4]
親投稿
No, like, I wanted to do this: IMPUT "Write OK, okay?" ;OK$ IF IMPUT = "No" THEN PRINT "I said yes." But it wouldn't work! (i also tried putting two =s intead of one, didn't work either) *do I have to write: IF IMUPT OK$ = "No" instead?
0そうだね
未プレイ
返信[5]
親投稿
KuroHana elijahpwg
INPUT"Is that OK?";OK$ IF OK$=="No" THEN PRINT"As a matter of fact, it isn't."
2そうだね
プレイ済み
返信[6]
親投稿
Thanks, I'll try that!
0そうだね
未プレイ
返信[7]
親投稿
KuroHana elijahpwg
;D np
0そうだね
プレイ済み
返信[8]
親投稿
Sorry, didn't work... Maybe that command isn't valid in Petit Computer. Maybe it's something they added in SmileBasic! Oh well! :] Does that command work in SmileBasic?
0そうだね
未プレイ
返信[9]
親投稿
Wait... IT WORKED!! Thank you! (turns out i just forgot to put two =s, i just put one) THANK YOU!! :] :] :] :] :] :]
1そうだね
未プレイ