zouyunhuang
級(jí)別: 探索解密
![]() |
圖片:
![]() IF start THEN; IF ceshi[1]<ceshi[2] <ceshi[3]<ceshi[4]<ceshi[5] <ceshi[6]<ceshi[7]<ceshi[8]<ceshi[9]THEN; start:=TRUE; ELSE FOR inder_3:=0 TO 8 DO FOR index:=0 TO 8 DO index_2:=index+10#1 ; if ceshi[index_2] <ceshi[index] THEN ; d0:=ceshi[index]; d1:=ceshi[index_2]; ceshi[index]:=d1; ceshi[index_2]:=d0; END_IF; END_FOR; END_FOR; END_IF; END_IF; 這是我寫的冒泡算法,我的第一個(gè)IF語(yǔ)句中,不可以這樣一直比較()<() < ()<()..請(qǐng)問(wèn)歐姆龍要這樣比較是不是不支持,還是我落下了什么 |
---|---|
|