Article View: adobe.postscript.programming
Article #453Re: random number generator
From: Ed_DeWan
Date: Tue, 09 Jan 2007 16:39
Date: Tue, 09 Jan 2007 16:39
1 lines
822 bytes
822 bytes
So, you have to supply your own seed, presumably "at random"? I have solved this problem by using Perl to generate a file of random numbers suitable for my PostScript application, and then reading them in with the read command, as per Alex's suggestion.
Technical Details
Message-ID:
<3bc2c286.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.isoc.lu!webcrossingReferences:
<3bc2c286.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,fff84dd5f285f870 X-Google-Attributes: gid10c61a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Ed_DeWan@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.isoc.lu!webcrossing Newsgroups: adobe.postscript.programming Subject: Re: random number generator Message-ID: <3bc2c286.3@webcrossing.la2eafNXanI> Date: Tue, 9 Jan 2007 08:39:02 -0800 References: <3bc2c286.-1@webcrossing.la2eafNXanI> Lines: 4 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit