IMPLement record}
Implement the given buffer in the file. Necessary if you want the changes
you made in a the buffer to appear in the file. The contents of the buffer isn't
changed, but the newly created record will get a place in the file and a
recordid.
If the file is disk-based, then the record will immediatly be written to disk
to ensure complete safety in case of a power failure or a system crash.
If the file is disk-based and a ``drive full'' error may occur, then the record
is NOT (re-)implemented, and a an error is reported.
Note that other file-errors may cause problems.
Sbasic
IMPLEMENT \#bufferid
Assembler
IMPL
bufferid
C
long implement(long bufferid);
errors, \= code, \= meaning
itnf -7 invalid bufferid
imem -3 insufficient memory
drfl -11 there was risk of a ``drive full''
too many records (impossible, indicates problems)
nimp -19 not implemented, only occurs when using the demo version
\ldots any file i/o error (should not occur)