PDA

View Full Version : List of top-level objects?


Jack Schmidt
07-14-1998, 09:17 AM
In a lisp routine, how do I get a list of all top-level objects? It appears that I can't get the children of the root because the root really isn't an object that can be passed to sd-inq-obj-children. (doList (you subscribers) (thank you)) Jack Schmidt

Jack Schmidt
07-14-1998, 09:26 AM
... so much for message formatting. I wonder if this thing will accept HTML...

Jack Schmidt
07-14-1998, 09:31 AM
<html> <head> </head> <body> <h1 align=center> HTML! </h1> </body> </html>

Markus Kuehl
07-14-1998, 05:54 PM
The root is an object and you can get its sel_item by doing this: (oli:sd-pathname-to-obj "/"). To get all children of the root, do this: (oli:sd-inq-obj-children (oli:sd-pathname-to-obj "/"))

Jack Schmidt
07-24-1998, 05:11 AM
It confused me that (sd-inq-parent-obj topLevelObj) returns NIL, not the root object. That's counter intuitive, IMHO.