我目前被GW-BASIC的以下错误信息阻碍住了:
Syntax error in 450
Ok
450 STEP=0
Here is the context:
400 ON KEY(13) GOSUB 590 ' right arrow key makes direction clockwise
410 ON KEY(12) GOSUB 610 ' left arrow key makes direction counter-clockwise
420 ON KEY(11) GOSUB 630 ' up arrow makes faster
430 ON KEY(14) GOSUB 670 ' down arrow makes slower
440 '
450 STEP=0
460 OUT DATAPORT, 0
我尝试了使用和不使用"LET"关键字来完成任务,结果相同。我无法发现代码中的任何问题。
谢谢。