[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] help with random numbers?

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] help with random numbers?
Date: Sat, 31 Jul 2010 21:36:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

On 07/31/2010 08:18 PM, Ralph Boland wrote:
            seed := self nextValue.
            ^seed asInteger // 2.

Since #nextValue is not in GNU Smalltalk, I strongly suspect you're confusing it with Squeak's random number generator class. :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]