Path: utzoo!utgpu!attcan!uunet!ginosko!usc!ucsd!ucbvax!bloom-beacon!eru!luth!sunic!chalmers!tekno.chalmers.se!d83_sven_a
From: d83_sven_a@tekno.chalmers.se (Sven (Sciz) Axelsson)
Newsgroups: comp.sys.mac.programmer
Subject: Programming problem in Allegro Common LISP
Message-ID: <1966@tekno.chalmers.se>
Date: 1 Oct 89 20:40:08 GMT
Organization: Chalmers Univ. of Technology, Gothenburg, Sweden
Lines: 17

I havve run into a problem programming in Allegro Common LISP's object
extensions. Basically I have a menu containing names of different classes
and I want to create an instance of the class that is selected. I've tried
the following:

	...
	(setq an-object (oneof (find-symbol a-menu-item-title)))
	...

but it doesn't work. If someone knows what I'm talking about, please help.

+-------------------------+--------------------------------+------------------+
|   Sven Axelsson         |  d83_sven_a@tekno.chalmers.se  |  DISCLAIMER:     |
|   dep:t of Linguistics  |          (^^ best ^^)          |                  |
|   univ. of Gothenburg   |        dlv_sa@hum.gu.se        |  This is not     |
|   SWEDEN                |      usdsa@seguc21.bitnet      |  a disclaimer.   |
+-------------------------+--------------------------------+------------------+