first previous next last contents

io_read_reading_name and io_write_reading_name

When accessing the reading name record referenced by the reading structure, special purpose functions must be used. The reading names are cached in memory once a database is opened. This speeds up accesses, but requires different IO functions. Note that io_write_text to update a reading name will invalidate the cache and cause bugs.

io_read_reading_name io reading_number
Returns the reading name for reading reading_number.

io_write_reading_name io reading_number name
Writes the new reading name for reading reading_number. Assuming correct syntax, this always returns success.

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_57.html