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 ENDFOK=(100-I*5-J*3)*3 提示语法错误SET TALK OFFCLEARFOR I=1 TO 20FOR J=1 TO 33FOR K=(100-I*5-J*3)*3IF I=J=K=100I,J,KENDIFENDFORENDFORENDFORSET TALK ON

问题描述:

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