help-octave
[Top][All Lists]
Advanced

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

value for "[ ]==[ }"


From: Jun Ohta
Subject: value for "[ ]==[ }"
Date: Tue, 31 May 2005 09:48:53 +0900

Hello,

I have noticed a difference between versions 2.1.50 and 2.1.70 on cygwin.
-----------------------
In the version 2.1.50, 
>> [ ] == [ ]
ans = 1
>> 
-----------------------
In the version 2.1.70
>> [ ]==[ ]
ans = []
>> 
-----------------------
The value for "[ ] == -1" is different between these 2 versions, too.

Are these differences intentional?
These differences are important for my scripts, where I use "[ ]" (return) as a 
reply 
value for question by the function "input". 
 
I would appreciate any comment.

Jun Ohta

Jun Ohta, address@hidden
Homepage:
in Japanese: http://www.cc.okayama-u.ac.jp/~jo25/
in English: http://www.cc.okayama-u.ac.jp/~jo25/eng_index.htm
IMAC: http://www.metabo-info.org/



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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