[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
is_scalar conflicts with isstring
From: |
SZABO Sandor |
Subject: |
is_scalar conflicts with isstring |
Date: |
Sat, 03 Mar 2001 13:09:42 +0100 |
Hello,
The behaviour of is_scalar conflicts with isstring.
Namely,
>> a="azez"
a = azez
>> length(a)
ans = 4
>> is_scalar(a(1))
ans = 1
>> isstr(a(1))
ans = 1
Why don't give is_scalar(a(1)) the 0 value?
I use Octave 2.0.16 .
Sandor Szabo
-------------------------------------------------------------
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
-------------------------------------------------------------
- is_scalar conflicts with isstring,
SZABO Sandor <=
Message not available