[CM] floor -> r1, r2

Rick Taube taube@uiuc.edu
Fri, 7 May 2004 10:38:18 -0500


if you are in Common Lisp you can use multiple-value-setq or 
multiple-value-bind

(multiple-value-bind (a b) (floor 6 4)
   b)

(let (a b)
   (multiple-value-setq (a b) (floor 6 4))
   b)




On May 7, 2004, at 10:11 AM, 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
>