[Newbies] Re: Mod operator?

nicolas cellier ncellier at ifrance.com
Sat Aug 11 18:19:26 UTC 2007


If you are interested by something closer to other languages for 
processing negative numbers, (AMOD, fmod, etc...), you will have a look 
at #quo: and #rem:

Nicolas

John Almberg a écrit :
> That works, too. Thanks.
> 
> -- John
>  
> On Aug 11, 2007, at 11:14 AM, Ching de la Serna wrote:
> 
>> try \\\  e.g. 5 \\\ 2  returns 1
>>
>> On 8/11/07, *John Almberg* <jalmberg at identry.com 
>> <mailto:jalmberg at identry.com>> wrote:
>>
>>     Funny how asking a question can give you the answer...
>>
>>     I was looking for variations on mod, but after I wrote
>>     'remainder'... well,  you can guess the rest :-)
>>
>>     Thanks anyway!
>>
>>     -- John
>>
>>     On Aug 11, 2007, at 11:05 AM, John Almberg wrote:
>>
>>>     Sorry for this simple question, but I can't seem to find the mod
>>>     operator. As in, "what's the remainder after doing division?"
>>>
>>>     Thanks: John
>>>
>>>
>>>     _______________________________________________
>>>     Beginners mailing list
>>>     Beginners at lists.squeakfoundation.org
>>>     <mailto:Beginners at lists.squeakfoundation.org>
>>>     http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>     <http://lists.squeakfoundation.org/mailman/listinfo/beginners>
>>
>>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>     Marketing for On-line Collectible Dealers
>>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>     Identry, LLC
>>     John Almberg
>>     (631) 546-5079
>>     jalmberg at identry.com <mailto:jalmberg at identry.com>
>>     www.identry.com <http://www.identry.com>
>>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>>
>>     _______________________________________________
>>     Beginners mailing list
>>     Beginners at lists.squeakfoundation.org
>>     <mailto:Beginners at lists.squeakfoundation.org>
>>     http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>     <http://lists.squeakfoundation.org/mailman/listinfo/beginners>
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org 
>> <mailto:Beginners at lists.squeakfoundation.org>
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Marketing for On-line Collectible Dealers
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Identry, LLC
> John Almberg
> (631) 546-5079
> jalmberg at identry.com <mailto:jalmberg at identry.com>
> www.identry.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners



More information about the Beginners mailing list