Date : Sun, 11 Dec 1983 20:23:00-PST
From : ABN.ISCAMS@usc-isid
Subject: RANDOM in Pascal
NetLandians,
I've been (grudgingly) trying to get the hang of Pascal, and have been playing
with my JRT Pascal 3.0 (yeah, yeah, I know -- no flames, please.)
Surprise, surprise: NO Random. Looked through my five reference books on
Pascal -- NO Random. A friend tells me (and source code for a program also
contains it) that Pascal/MT+ does have it, but that's no help.
How, pray tell, can you do the usual Random(n) thing in Pascal? I'm looking
for a fairly random series of numbers kind of like in BASIC; you know, the
decimal from .00something to .999something.
Since I haven't exactly figured out how to link Assembler programs into JRT
Pascal yet either, that kind of approach (grabbing a register's contents,
sequencing my way through memory) isn't practical yet (unless someone is
willing to expand on the JRT manual!).
Sure would appreciate the help. I'm getting right at home in Assembler, but
Pascal is still somewhat foreign to me.
Regards, and thanks in advance.
David Kirschbaum
Toad Hall