[eclipse-users] random - problem

From: Marius Schneider <marius.rks_at_...85...>
Date: Sat, 17 Nov 2007 10:42:03 +0100
Hi!
I am new in this mailing list and new with ECLiPSe.

But I have a problem and I hope somebody can help me.

When I use the random predicate of prolog in a java thread and the java
thread is started, then I get always the same random-number. (e.g.
eclipse.rpc("random(N)").arg(1);).

How can I get "real" random numbers?

Thanks for the help.

best regards, Marius

PS.: My English is not the best, because I am a German.
Received on Sat Nov 17 2007 - 09:42:11 CET

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:20 CEST