'whos' with incorrect fields

G.. gail at tnp-online.de
Wed Mar 12 10:35:37 CDT 2008


Let

octave:1> A.a = B.b = 0 ;
octave:2> whos A.A B.b
error: structure has no member `A'

*** local user variables:

  Prot Name        Size                     Bytes  Class
  ==== ====        ====                     =====  ===== 
   rwd A.A         1x0                          0  cs-list
   rwd B.b        -1x-1                         0  unknown

Total is 1 element using 0 bytes

But B.b should show up as 

octave:3> whos B.b

*** local user variables:

  Prot Name        Size                     Bytes  Class
  ==== ====        ====                     =====  ===== 
   rwd B.b         1x1                          8  double

Total is 1 element using 8 bytes


G.

----------------------------------------------------------------------
GNU Octave Version 3.0.0
GNU Octave License: GNU General Public License
Operating System: Linux 2.4.18-nec3.4p1.045 #1 SMP Mon Apr 9 16:57:17 JST
2007 ia64
----------------------------------------------------------------------

-- 
View this message in context: http://www.nabble.com/%27whos%27-with-incorrect-fields-tp16004551p16004551.html
Sent from the Octave - Bugs mailing list archive at Nabble.com.



More information about the Bug-octave mailing list