[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ignored variables in symbolics and lucid



    Date: Fri, 18 Dec 1992 21:02+0100
    From: Barry Margolin <barmar@Think.COM>

	Date: Fri, 18 Dec 1992 12:59 EST
	From: Bill Long <WJL@ZERMATT.LCS.MIT.EDU>

	I have a function the following type of function which works fine in
	Symbolics common-lisp:

	(defun foo ()
	 (multiple-value-setq (x () y)(bar))
	 (list x y))

    (defun foo (&aux notused)
      (multiple-value-setq (x notused y) (bar))
      notused
      (list x y))
						    barmar
That will probably do it.
However, a compiler might optimize away the reference to NOTUSED,
and maybe also tell you about it, so that you still end up getting
warnings.

Markus Fischer, MF@SGER.UUCP              Mergenthalerallee 77-81
Statice Development Group                 W-6236 Eschborn, Germany
Symbolics Systemhaus GmbH                 Phone: +49 6196 47220, Fax 481116