我目前被来自GW-BASIC的以下错误消息所阻碍:
Syntax error in 450
Ok
450 STEP=0下面是上下文:
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关键字的赋值,结果相同。我看不出我的代码有什么问题。
谢谢。
发布于 2014-07-04 08:19:53
STEP是保留的GWBasic关键字。将名称更改为其他名称,如MYSTEP或其他名称。
https://stackoverflow.com/questions/24565074
复制相似问题