[CM] floor -> r1, r2

Magnus Frenning magnus@compusic.se
Sat, 08 May 2004 10:42:44 +0200


This is a typical common lisp problem
according to Steel Jr this should be solved with
(multiple-value-call #'cons (floor 6 4))
if you want to produce a cons with both results.

good luck

Bill Sack wrote:

> CM(1): (rem 6 4)
> 2
> CM(2):
>
> alin weiller wrote:
>
>> Hi, I have a problem, I wan t to get the second result of the floor 
>> function, since it is not a list, cdr or car
>> doesn't work.
>> How can I do?
>>
>> example
>>
>> (floor 6 4)
>> =>
>> 1, 2
>>
>> How to get the 2?
>>
>> Thank's
>>
>> A-LIN
>>
>> Plus simple, plus fiable, plus rapide : découvrez le nouveau Caramail 
>> - http://www.caramail.lycos.fr
>>
>
>