help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

condition bug


From: frank wang
Subject: condition bug
Date: Thu, 7 Sep 2006 14:52:01 -0700

Hi,
According to the octave maual, the if statement is considered true if its value is non-zero, and false if its value is zero. However, when I typed following command in octave 2.9.8, I got syntax error.
 
if(1)
parse error:
      syntax error.
 
 
Thanks
 
Frank

reply via email to

[Prev in Thread] Current Thread [Next in Thread]