Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!fernwood!franz!layer From: layer@Franz.COM (Kevin Layer) Newsgroups: comp.sys.next Subject: Re: Allegro LISP question on packages Message-ID: Date: 29 Mar 91 18:03:09 GMT References: <2377@fornax.UUCP> Sender: news@Franz.COM Organization: Franz Inc., Berkeley, CA Lines: 28 In-reply-to: mcdonald@fornax.UUCP's message of 28 Mar 91 06:36:36 GMT In article <2377@fornax.UUCP> mcdonald@fornax.UUCP (Ken Mcdonald) writes: Could some kind soul please send me the correct command for loading external LISP packages into ACL, so that I can interface with objective-C and so forth? I've tried (use-package 'objc) and (use-package objc), and it doesn't like either of those. Try: (require :objc) (use-package :objc) USE-PACKAGE is a function that evaluates its arguments, so you need to quote the OBJC symbol or pass the keyword as I've done above. P.S. If someone wanted to send me a few lines showing how to create, resize, move and destroy a window, all from within LISP, I wouldn't object to that either :-) Once you know how to do it in C or Objective-C, use the foreign function interface in Allegro CL. There are no Allegro CL functions to do what you want. -- Kevin Layer, Franz Inc. 1995 University Avenue, Suite 275 layer@Franz.COM (internet) Berkeley, CA 94704 uunet!franz!layer (uucp) Phone: (415) 548-3600; FAX: (415) 548-8253