'whos' with incorrect fields
David Bateman
David.Bateman at motorola.com
Wed Mar 12 12:05:41 CDT 2008
David Bateman wrote:
> John W. Eaton wrote:
>
>> On 12-Mar-2008, G.. wrote:
>>
>> |
>> | 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
>>
>> Did you mean
>>
>> whos A.a
>>
>> ?
>>
>>
> I presume so.. However, that isn't the issue.. Octave should only return
> an error above and not print out anything..
>
> D.
>
>
>
Furthermore, in Octave 3.0.0 "whos A.a" prints the fields of the
structure, whereas in 3.1.x it doesn't.. This appears to be an issue
introduced with the new symbol table code.
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
More information about the Bug-octave
mailing list