octave-maintainers
[Top][All Lists]
Advanced

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

[Changeset] Re: namelengthmax?


From: John W. Eaton
Subject: [Changeset] Re: namelengthmax?
Date: Mon, 24 Mar 2008 15:54:32 -0400

On 23-Mar-2008, David Bateman wrote:

| Bill Denney wrote:
| > David Bateman wrote:
| >> Since we're picking off the easy functions to implement that are matlab
| >> core functions and not implemented in Octave, I looked at namelengthmax.
| >> In matlab this is 63 which is basically limited by the string name
| >> reserved for the variable name in matlab's "save" file format. However,
| >> the same limits don't apply in Octave and the variable name length limit
| >> is essentially "2^31-1". However when Octave writes to a mat-file it
| >> truncates the variable names to 63 character (or 31 characters for v5
| >> files).
| >>
| >> So if we implement namelengthmax should we return 63, or 2^31-1? Is this
| >> function of any use in any case?
| >>   
| > My personal thoughts are that since we go for Matlab compatibility in
| > almost all things and since it is not really useful for octave, we
| > should have the function and it should have a warning similar to what
| > you discuss above and then it should return 63.
| 
| 
| Yeah that's what I thought.. See the attached patch..

I applied this changeset.

Thanks,

jwe


reply via email to

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