help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] CStruct inspector


From: Lyndon Tremblay
Subject: [Help-smalltalk] CStruct inspector
Date: Mon, 08 Dec 2003 00:36:54 -0700

From CCompound:
 
    "We can't call subclassResponsibility because #inspect should never
     fail - it would lead to recursive walkbacks. So answer an empty
     array.
     For subclasses, it will answer an Array of the selectors whose
     values are to be shown in the inspector."
    ^#()!
 
TF is a simple CStruct, it fails on the declaration of "(#someName (#array #float 6))"
 
TF(16r10183018)
    LocA: 0.0
    LocB: -17.6713
    LocC: 16.0000
    next: Object: CArray new: 1 "<0x31e0e18>" error: did not understand #value
CArray(Object)>>#doesNotUnderstand:
optimized [] in CCompound>>#inspect
Array(SequenceableCollection)>>#do:
TF(CCompound)>>#inspect
UndefinedObject>>#executeStatements
 
--humasect

reply via email to

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