Re: EDS

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu