Re: (Derek Brown) Random.e
<< I was just looking over the docs to Random.e, sounds like a
start
to what I'm looking for. I have Version 1.6 at the moment, has then
been any later releases? I want to be sure to use the most current
version, I'll probably need to modify it a bit to allow for indexing
(sorting) using my First Field as the Key. Also, down the line, I will
be interested in have some kind of Data Compression. I had to Back Up
and Punt so to speak on my parser I'm working on (EAGLE), in that I need
a better idea of how my Data File is going to work, in order to finish
the parser code. >>
That's the latest release. I wrote it to acheive top level records, but
kind of gave up because the speed wasn't up to par. I would strongly
recommend using Gabriel Boehme's Bget.e, and storing all the data in the
datafile under one sequence. That makes it easy for me for a game I'm
working on because I can load the data into a variable called data, and index
everything very easily, such as:
data[ league] [ Auburn ] [ usage ] [ QB ] [ 1 ]
For sorting, bget is perfect. Since everything isn't loaded into the top
level, but in one large sequence variable, sorting is great.
As for data compression, once I switched to bget my data file went from 450
K to about 240 K... just by including bget.e and changing print and get
statements to bprint and bget!!!
I'd love to help though if you will be using Random.e. It's pretty useful
to those who are accusted to QBASIC style data access (like me when I wrote
the file).
Derek Brown
|
Not Categorized, Please Help
|
|