--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/0d86fa1d-d7b6-4b0c-be89-53581b73522cn%40googlegroups.com.
For example, I have a bunch of vans leaving site at the same time. I
want them in random order (because I don't want to favour one big client
over another), but it causes me headaches if I have a problem, re-run
the dispatch software, and all the runs get re-randomised ... (yes, this
is a real problem :-)
D3 also does it right.
Here’s my test code
TEST.RND
001 TXT = ''
002 FOR I = 1 TO 10
003 TXT := ' ':RND(9999)
004 NEXT I
005 EXECUTE 'LOG-MSG ':TXT
006 END
Z TEST.RND multiple times gives different results each time on D3 Linux 10.2
Tom
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/be5062d4-3790-4406-8bf9-bcfad66df3c0n%40googlegroups.com.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/20ab7db3-133d-45d2-9888-860615c6c935n%40googlegroups.com.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/be5062d4-3790-4406-8bf9-bcfad66df3c0n%40googlegroups.com.
D3 doesn’t have a RANDOMIZE function or statement. The process executes srand() with a suitable seed on process startup (I presume).
From: 'Jim Idle' via Pick and MultiValue Databases <mvd...@googlegroups.com>
Sent: Thursday, May 8, 2025 10:59 AM
To: mvd...@googlegroups.com
Subject: Re: [mvdbms] RND() and phantoms(UV on win) and RANDOMIZE()
This is what you are supposed to do. If you don’t use RANDOMIZE then there are no guarantees. People saying XYZ got it right are actually incorrect and incorrect in their assumptions about why they think they are correct.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/CAGPPfg8H%3Dav%2Bw1Y7t_EXf-e9LRa7%2BHtJhqREzzJdaNiRkBCEkg%40mail.gmail.com.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/0b6c8ddc-f891-4f53-b48f-1c726a2666fd%40youngman.org.uk.