Article View: news.software.readers
Article #251591Re: 40tude Dialog: Random or randomize?
From: Sqwertz
Date: Sat, 15 Sep 2012 20:36
Date: Sat, 15 Sep 2012 20:36
19 lines
1879 bytes
1879 bytes
On Sat, 15 Sep 2012 09:21:41 +0000 (UTC), Jerry Lamb wrote: > For 40tude Dialog, I'm trying to create a script that will create a > random number, but the Object Pascal interpretation engine doesn't > seem to recognize either Random or Randomize. > > Is there a specific method for generating random numbers in a specific > range in 40tude Dialog's Object Pascal scripting language? There is a library called dext.dll that includes an RNG here: http://dialog.datalist.org/downloads/download.html (Scroll down to the bottom) It is used like so: function randomNumber( max : integer ) : integer; external 'randomNumber@dExt.dll'; -sw
Technical Details
Message-ID:
<uh3a3n867mva$.dlg@sqwertz.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.readnews.com!transit3.readnews.com!newsh2.newsreader.com!postserver2.readnews.com!unm2.readnews.com.POSTED!not-for-mailReferences:
<k31hb4$2cv$1@tor.dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <uh3a3n867mva$.dlg@sqwertz.com> Subject: Re: 40tude Dialog: Random or randomize? Date: Sat, 15 Sep 2012 15:36:43 -0500 From: Sqwertz <swertz@cluemail.compost> References: <k31hb4$2cv$1@tor.dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.readnews.com!transit3.readnews.com!newsh2.newsreader.com!postserver2.readnews.com!unm2.readnews.com.POSTED!not-for-mail X-Trace: DXC=GaI3BOkSNPYA@54K`:KYk[G^cGF?V7mIT]G0e@Sk_WTRT6RVf`ncYmV_EZTl5L<4XU?5WS?]K005U8e^PL2EU9; _@J3Fk48nFIS<^8QF[FakFT X-Complaints-To: abuse@blocknews.net Newsgroups: news.software.readers User-Agent: KNode/0.10.4 Mime-proxy/2.3-5Y (FreeBSD) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Organization: Me, Myself, and Inc. X-no-archive: yes Lines: 19 NNTP-Posting-Host: a6b47b19.newsreader.readnews.com X-Original-Bytes: 1606