>>373
>if (pt.x)=y then
if (pt.x=y) then
()に条件となる式を入れる。
これは、式が等しいかどうかの論理式を評価する。

>>374
代入式が=の前にコロン。Delphiだよ。