Hello [EMAIL PROTECTED]!
On 21-Apr-00, you wrote:
r> a: read/lines %auto.db
r> a: to-hash a
You don't need a hash if you're just using functions like PICK and
not FIND, SELECT etc. This conversion could take some time if the
db is very big...
r> b: []
r> random/seed now/time
r> repeat count 10 [append b pick a (random ((length? a) - 10))
r> ]
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/
- [REBOL] About REBOL/Command... carl
- [REBOL] About REBOL/Command... Re: Petr . Krenzelok
- [REBOL] The new little REBOL. brendac
- [REBOL] The new little REBOL. Re: mailinglists
- [REBOL] The new little REBOL. Re: Al . Bri
- [REBOL] online database manipulation ralph
- [REBOL] Re: About REBOL/Command... doncox
- [REBOL] Rebol/Command ME TOO Re:(45) rlaing
