Re: EDS
- Posted by Prasanta Chakraborty <prasanta at WRITEME.COM> Mar 14, 2000
- 744 views
There is a small problem in the supplied createdb.ex progrm.
In the following code
for i = 1 to 1000 do
key = rand(1000)
rec = db_find_key(key)
if rec > 0 then
** data = db_record_data(key) **
else
printf(SCREEN, "Failed to find key: %d\n", key)
end if
end for
It should be ** data = db_record_data(rec) **
I think it works in the sample as everything is numeric, the rec and the
key.
Regards,
Prasanta.

