From: theguy
Subject: undefine function
Date: 
Message-ID: <8q091j$rl1$1@dahlia.singnet.com.sg>
hi,
  i try to use the mod  function eg  (mod  5 4) but it doesn`t work in gcl
1.01 version ...i need to do it in there no matter what .....is there a way
to write an algo for it????

thanks
From: Coby Beck
Subject: Re: undefine function
Date: 
Message-ID: <FlOw5.84942$47.948395@news.bc.tac.net>
"theguy" <······@mbox5.singnet.com.sg> wrote in message
·················@dahlia.singnet.com.sg...
> hi,
>   i try to use the mod  function eg  (mod  5 4) but it doesn`t work in gcl
> 1.01 version ...i need to do it in there no matter what .....is there a
way
> to write an algo for it????
>

(defun my-mod(num div)
  (- num (* (floor num div) div)))

cb