FATS - Fast Access Tree System
Table of Contents
List of Commands
"W" Write Page Map

"W" Write Page Map


Command string:

CMND$ = "W\{FileNo}"

FileNo File number

Purpose:

Flush cache buffers to disk.

Description:

If you have activated the cache algorithm with the command  Auto Refresh (Y), the possibly still in the cache buffers presented data are written on the disk with this command.

If the cache is inactive after every FATS command all changed data are written on the disk with exception of the command  Build Record (B).

Parameters returned:

ERRORCODE:Errorcode or 0 (no error)
RECNO:Undefined
FATSKEY:Undefined

Example:

CMND$ = "W\1"

See also:

 "B" Build Record; page 4-14
 "Y" Auto Refresh; page 4-77
 "Z" Reload File Buffers; page 4-77


 

© 2008  GCS Software, Udo Gertz