if jf==0 then ここに操作系 endif って感じか?