プレイ日記
TFlan nuynuf
Error in line 17... Help? All I know comes from Wikibooks. I honestly am missing the slightest clue.
3そうだね
プレイ済み
返信[1]
親投稿
Matthew Mz3player
If I'm understanding your program correctly, you need else and if to be one word. You'll also need an endif to end the last if-then statement.
0そうだね
プレイ済み
返信[2]
親投稿
Hanzo rzsense
"IF ... THEN ... ELSE ..." in plural lines should be followed by "ENDIF" In your case, "ENDIF" is necessary between line 16 and 17.
0そうだね
未プレイ
返信[3]
親投稿
TFlan nuynuf
Thanks, that helped me out a LOT.
0そうだね
プレイ済み
返信[4]
親投稿
Alex MrCashews
Wikibooks should not be used as a learning resource. SB is rather different from most BASICs and I see you're breaking syntax rules in multiple places. DIM PER AS INTEGER is illegal and should create a syntax error, for example. I recommend SB's official documentation instead.
0そうだね
プレイ済み
返信[5]
親投稿
TFlan nuynuf
It doesn't have anything against it... I've been doing fine w/ it, it's just a quick & accessible learning resource.
0そうだね
プレイ済み
返信[6]
親投稿
Alex MrCashews
I've tested parts of this code and it won't compile and run. A lot of this is invalid SmileBASIC code.
0そうだね
プレイ済み