Add seealso strings to list- related functions.

John W. Eaton jwe at bevo.che.wisc.edu
Wed Jan 16 02:32:04 CST 2008


On 16-Jan-2008, Søren Hauberg wrote:

| Matlab:
| 
|   a = dir;
|   length(a)
|   ans =
|    150
|   b = a.name
|   b =
|    .
| 
| That is, b contains the string '.'. So, for compatibility, I think more
| than the way cs-lists are printed needs to be changed :-(

Oh, I didn't know that worked.  Maybe it is a new feature?  OK, I also
see that

  [a, b, c] = a.name

works.

How about the following patch?  With it, I see

  octave:1> x = dir ();
  octave:2> a = x.name
  a = .
  octave:3> [a,b,c] = x.name
  a = .
  b = ..
  c = BUGS


Thanks,

jwe


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080116/b728577d/attachment.ksh 


More information about the Bug-octave mailing list