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

Does FORMAT handle multiple values

    Date: 23 May 85 04:30:24 EDT
    From: Dave <Steiner@RUTGERS.ARPA@think>

    Does format handle multiple values at all?  What I want to do is
    something like the following (only this throws away everything but
    the first value):

    (format t "~S~%" (progn ... (values ...)))

I would write this as

    (multiple-value-call #'format t "~S~%" (progn ... (values ...)))

thereby causing multiple values from each argument form to be
"spread out" as separate arguments to FORMAT.