[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getIntegerWithMin$withMax(int, int)
From: |
Marcus G. Daniels |
Subject: |
Re: getIntegerWithMin$withMax(int, int) |
Date: |
21 Sep 2001 08:08:45 -0600 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7 |
>>>>> "FW" == Fred Wan <address@hidden> writes:
FW> I'm trying to use getIntegerWithMin$withMax(int, int) but
FW> compiling with the latest swarm version yields the following error
FW> message:
FW> Error: H:\swarm\java\A3DMAS31\ModelSwarm.java(159): Method
FW> getIntegerWithMin$withMax(int, int) not found in
FW> swarm.SwarmEnvironmentImpl
I don't recall anything changing. Here's an example.
import swarm.Globals;
public class GetRandom {
static void main (String args []) {
Globals.env.initSwarm ("random", "0.0", "address@hidden", args);
int val;
val = Globals.env.uniformIntRand.getIntegerWithMin$withMax (0, 10);
System.out.println (val);
}
}
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- Partial success in compiling Swarm-2001-09-06, Gary Polhill, 2001/09/20
- Re: Partial success in compiling Swarm-2001-09-06, Marcus G. Daniels, 2001/09/20
- getIntegerWithMin$withMax(int, int), Fred Wan, 2001/09/21
- Re: getIntegerWithMin$withMax(int, int),
Marcus G. Daniels <=
- Grid2dImpl question (java), Myriam Abramson, 2001/09/21
- Re: Grid2dImpl question (java), Marcus G. Daniels, 2001/09/21
- Variable missing, Fred Wan, 2001/09/26
- Re: Variable missing, Marcus G. Daniels, 2001/09/26
- RE: Variable missing, Fred Wan, 2001/09/26
- Re: Variable missing, Marcus G. Daniels, 2001/09/26
- RE: Variable missing, Fred Wan, 2001/09/26
- Re: Variable missing, Marcus G. Daniels, 2001/09/26