lq-text: LQT_WriteCurrentMaxWID

API int LQT_WriteCurrentMaxWID (db) t_LQTEXT_Database *db;

Purpose

Writes the value of the largest allocated WID to disk. This value is cached for efficiency, so LQT_Write­Current­Max­WID must be called after allocating a new WID and before the program exits.

Since LQT_Write­Current­Max­WID is registered as an action to be performed on closing or flushing a database, it will be called automatically by a call to either LQT_Close or LQT_Sync.

See Also: