[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange?
From: |
Ian McCallion |
Subject: |
Re: Strange? |
Date: |
Tue, 10 Mar 2020 08:47:40 +0000 |
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;
> >> A
> 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:
isvarname('a')
Cheers... Ian
- Strange?, address@hidden, 2020/03/10
- Re: Strange?,
Ian McCallion <=