help-octave
[Top][All Lists]
Advanced

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

Re: isa strangeness


From: Jaroslav Hajek
Subject: Re: isa strangeness
Date: Mon, 16 Aug 2010 08:10:47 +0200

On Mon, Aug 16, 2010 at 4:31 AM, Martin Helm <address@hidden> wrote:

> The help string of isa is not really good here.
> Use
> isa(10, "double") or isa(10, 'double')
> class in isa is expected to be a string here which contains the class name.
> The reason is the syntax
> isa(10, double)
> will treat double as a function call without arguments, which is a syntax
> error.
> - mh
>

On the contrary, I think that the help string is OK, It's just that
Richard doesn't understand the fundamentals of Octave syntax; but we
surely can't repeat those in every docstring, can we?


-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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