[Top][All Lists]

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

Re: Strange?

From: Sergei Steshenko
Subject: Re: Strange?
Date: Tue, 10 Mar 2020 13:56:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 10/03/2020 10:47, Ian McCallion wrote:
On Tue, 10 Mar 2020 at 08:22, address@hidden
<address@hidden> wrote:
Dear listmembers,
I am currently trying to go through the documentation - it's something like 
1000 pages, so this takes time :-). I am using octave 5.2.0. When I say

A =  5
isvarname (A)
ans  =  0

shouldn't this be "1" rather than "0"? The manual states "Return true if name is a valid 
variable name". In my example I consider "A" a valid variable name, isn't it? So, could you shed some 
light on what I am doing wrong here?
you need to say:


Cheers... Ian

Most likely  isvarname('A') - IIRC Octave is case-sensitive.


reply via email to

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