wackyの<4AZnh.94$zG6.7@news3.dion.ne.jp>から
>if (hoge) result = OK; result = NG;

ありゃりゃ、^^;

if (hoge) result = OK; else result = NG;

ですね。

-- 
wacky