SET TALK OFF CLEAR FOR I=1 TO 20 FOR J=1 TO 33 FOR K=(100-I*5-J*3)*3 IF I=J=K=100 I,J,K ENDIF ENDFO
问题描述:
SET TALK OFF CLEAR FOR I=1 TO 20 FOR J=1 TO 33 FOR K=(100-I*5-J*3)*3 IF I=J=K=100 I,J,K ENDIF ENDFO
K=(100-I*5-J*3)*3 提示语法错误
SET TALK OFF
CLEAR
FOR I=1 TO 20
FOR J=1 TO 33
FOR K=(100-I*5-J*3)*3
IF I=J=K=100
I,J,K
ENDIF
ENDFOR
ENDFOR
ENDFOR
SET TALK ON
答
注意FOR的用法
FOR XX=XX TO XX
你没用TO