トピック
受付中
James kawaiipikachu

INPUT help in timer program.

Im trying to figure out on how to INPUT a numper into my programs by writing a simple timer program it come up with "syntax error in 0:2". looks like I did something wrong in line 2 or something.
1そうだね
プレイ済み
返信[1]
親投稿
Nicole moesaku
Take the ; out of line 2.
0そうだね
未プレイ
返信[2]
親投稿
Nicole moesaku
Actually, the STEP -1 shouldn't be there either. The line should just be: FOR X=1 TO NO1
1そうだね
未プレイ
返信[3]
親投稿
Nicole moesaku
Or, if you want it to count down: FOR X=NO1 TO 1 STEP -1
1そうだね
未プレイ
返信[4]
親投稿
James kawaiipikachu
Thanks for the help & it worked.
0そうだね
プレイ済み
返信[5]
親投稿
James kawaiipikachu
Following up on this timer program I tried changing it so at the countdown that you can choose to restart at the begining of the program or to end the program. the lines 14 to 18 is where the main area of problem arise.
0そうだね
プレイ済み
返信[6]
親投稿
James kawaiipikachu
I realise my mistake. In lines 16 & 17 I dad a goto after the then. Once I removed the 2 goto the program worked fine.
0そうだね
プレイ済み