[Unicon-group] a tweak to the Unicon object representation
by Clinton Jeffery
 |
REPLY TO AUTHOR
|
 |
|
|
 |
REPLY TO GROUP
|
 |
|
Hi,
There are several aspects of Unicon's representation of objects that have
always been a little bit unpolished, a side-effect of the implementation of
classes and objects as records. Some of these things are documented, and
usually documented as subject-to-change as required by the needs of the
implementation.
One tweak we did recently that deserves mention is that object's size, and
integer subscripting were recently corrected to ignore the two fields that
are at present reserved at the front of the object instances (a so-called
"self" reference, and a so-called "methods record"). If you are using
current CVS or the current public distributions of Unicon, the size no
longer reports being two more than the user's declared number of fields, and
the integer subscripts skip over those two fields and start at 1 instead of
3 for user fields. The two reserved fields may in fact disappear in the
future. The names __s and __m are still reserved for those fields. You can
thank Jafar Al Gharaibeh for the size and subscript corrections for objects;
more exciting changes are in progress.
Cheers,
Clint
Bookmark with:
Delicious
Digg
reddit
Facebook
StumbleUpon
Related Messages
opensubscriber is not affiliated with the authors of this message nor responsible for its content.
|