Ram�n, Thanks for your replies. This took me on an enlightening perusal of AbstractLists, SerialObjects and such, but it still does not work for me. The error message I get is
USER>w ##class(%ListOfDataTypes).LogicalToDisplay(olist.%GetSerial()) W ##CLASS(%ListOfDataTypes).LogicalToDisplay(olist.%GetSerial()) ^ <PRIVATE METHOD> USER> Any ideas what could be wrong? On Wed, 18 Aug 2004 17:21:51 +0100, Ram�n Jim�nez <[EMAIL PROTECTED]> wrote: >Sorry, Skip, my previous reply was not properly edited... > ><post> >That said, the error you're getting is because > > > USER>w ##class(%ListOfDataTypes).LogicalToDisplay(olist) > >this method expects a $LIST, not an instance of %ListOfDataTypes. > >The logical representation of a data is simply its $H format. That's how >it gets stored in a global. But lists of data types are stored as a >nested $LIST structures (nested within the object that references them). > >It seems to be you can get the underlying list of the OREF by calling >%GetSerial, e.g. > >USER>W ##class(%ListOfDataTypes).LogicalToDisplay(olist.%GetSerial()) ></post> > >That's more like it :)
