等号: :=
等号: :=
不等号:#
注释符:*
字符串赋值: str:=’halcon’
等于比较符: if(X=10)
与: if(A>1 and A<30)
或: if(A>1 or A<30)
if(not(A=10)
For 循环:
for i:=0 to NumBalls-1 by 1
…
endfor
While循环:
while(x==1)
…
Endwhile
异常获取:
Try
catch(Exception)
Endtry
Switch多分支:
switch(Index)
case 1:
break
case 2:
break
case 3:
break
default:
break
endswitch