It seems there is a bug in Octave 3.0.x -- the following results in error: if 1 | nonsense 'hello', end a=1; if a==1 | b==7 'hello' , end while it writes correctly 'hello' in Octave 2.x aneb Matlab 6.x. --- Petr Mikkulik