mcdonald@fornax.UUCP (Ken Mcdonald) (03/28/91)
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. Thanks, Ken McDonald mcdonald@cs.sfu.ca 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 :-) .
layer@Franz.COM (Kevin Layer) (03/30/91)
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