power of a number

Julien Bourdon bourdux at gmail.com
Mon May 23 13:01:23 UTC 2005


For 2^3 you should use 2 raisedTo:3 for example.

On 5/23/05, Guenther Schmidt <gue.schmidt at web.de> wrote:
> Hi,
> 
> I can't figure this out by myself.
> 
> I want to do an arithmetic expression like:
> 
> 2 power 3, ie. (2 * 2 * 2).
> 
> What's the right syntax in Squeak Smalltalk?
> 
> Günther
> 
> 
> 


-- 
    _  _               Julien Bourdon
   (o)(o)--.           http://www.purl.org/net/JulienBourdon
    \../   (  )          self isAddictedTo:(#Squeak&#linux)
   m\/m--m'`--.    ^true



More information about the Squeak-dev mailing list