The fsck command completes a more thorough check of the integrity and structure of your data than the save command. It also allows for fixing backward link errors automatically. This TCL command was implemented to allow its use without first entering the D3 Windows Monitor Debugger.
fsck -f filename -c arg
filename | Represents the name of the file that you want to check. |
arg | Represents one of two options available for checking the
filename.
|
The fsck command provides a simple interface to the FlashBASIC %filecheck() function and is used to verify the integrity of the data within the D3 database. The fsck command allows for a more thorough scan of the data than the save command.
By contrast, and to provide for a better experience with data backups, using the save command only provides a minimal check to ensure that data will be saved properly, and then restored properly. The save command is optimized to save the data more quickly. To achieve this, not all data integrity or structures are checked. However, when using the fsck command, checks are included for backward link errors and embedded segment marks.