Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!ABN.ISCAMS@usc-isid From: ABN.ISCAMS%usc-isid@sri-unix.UUCP Newsgroups: net.micro.cpm Subject: RANDOM in Pascal Message-ID: <14529@sri-arpa.UUCP> Date: Sun, 11-Dec-83 23:23:00 EST Article-I.D.: sri-arpa.14529 Posted: Sun Dec 11 23:23:00 1983 Date-Received: Thu, 15-Dec-83 01:50:03 EST Lines: 25 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