TIP: Click on subject to list as thread! ANSI
echo: clipper
to: BRYAN SMITH
from: RON TUYNMAN
date: 1997-05-30 14:34:00
subject: Random Function

-=> Bryan Smith schreef op 27 May 97  22:08:38 aan Eric Bentvelzen over 
Random Function..<=-
 EB> Who can help me on a random function.
 EB> I must load a database with random numbers from 1 to 512.
 BS> 
 BS> Set up an array of 512 rows by 2 columns.
 BS> Fill the first column with the numbers 1-512
 BS> Fill the second column with random floating-point numbers.
 BS> Sort the array on the second column.
 BS> The first column will now contain the numbers 1-512 in random order.
 ...:-))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
 Eric asks for a RANDOM-function. Your solution STILL needs a random
 function to create the random floating point numbers...
 There's a hole in my bucket, dear Lisa, dear Lisa.... ;-))))))
 Cu,
 Ron
--- Blue Wave v2.12
---------------
* Origin: SYNCNET BBS - +31-35-6237178/6244318 [ISDN] (2:283/1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.