octave-maintainers
[Top][All Lists]
Advanced

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

Re: Some strfns.cc loose ends


From: Daniel J Sebald
Subject: Re: Some strfns.cc loose ends
Date: Wed, 25 Jul 2012 19:52:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 07/25/2012 07:43 PM, John W. Eaton wrote:

| In any case, thoughts on getting rid of the FIXME by simply error-ing
| out when the element is a non-string as opposed to skipping and
| indicating 0?

If you want compatibility with Matlab you can't produce an error
here.  Complete compatibility means no warning either.  But at least
with a warning with an ID, the user has the choice of disabling it or
turning it into an error.

That's what Matlab is doing? Strange. I would think the warning is fine (and a good idea). How about put the warning in to remove the FIXME? If someone raises an issue then the warning can be revisited.

So then, what about .is_cellstr()?  Any slow down associated with that?

Dan


reply via email to

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