|
Re: Mod operator?: msg#00122lang.smalltalk.squeak.beginners
Matthew Fulmer wrote: > On Sat, Aug 11, 2007 at 11:05:54AM -0400, 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 >> > > For such questions, it is best to use the method finder: > - Open method finder (world menu -> open -> method finder) > - enter a mod expression ( such as 7 . 3 . 1 ) and hit enter > - method finder gives several answers. Two of them are what you > are looking for > ****WOW****!! That's just magic! I can't believe that I'm still finding more incredible features in Squeak after spending a couple of years immersed in it. Michael.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: adding methods to a class at runtime, David Mitchell |
|---|---|
| Next by Date: | Re: Where to 'declare' symbols, John Almberg |
| Previous by Thread: | Re: Mod operator?, John Almberg |
| Next by Thread: | Generating a predictable 'atRandom' result for testing, John Almberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |