ssmith@rhumba.mpr.ca (Shaun Smith) (08/01/90)
I'm new to xlisp but familiar wit other object-oriented languages such as CLOS, Smalltalk and C++. What I'm trying to do is access the class variables of a class through the class object. eg. (setq tools (send class :new '(power moveable) '(number))) Now I want a reader function (in CLOS jargon) for the class object "tools" that will let me find read the value of number. Can anyone tell me how to do it? I don't want to have to go through an instance of class tools to do it. If anyone can tell me I'd be grateful. Thanks in advance, Shaun Shaun M. Smith | ssmith@joplin.mpr.ca MPR Teltech Ltd. | joplin.mpr.ca!ssmith@uunet.uu.net 8999 Nelson Way, Burnaby, BC | ssmith%joplin.mpr.ca@relay.ubc.ca Canada, V5A 4B5, (604) 293-5345 | ...!ubc-vision!joplinmpr.ca!ssmith