in BASIC ROM:
|List of all BASIC keywords|
Type: Command General Programming-Syntax: VERIFY ["<filename>"] [,<device number>]
The BASIC-Command VERIFY is used for verifying files, which was written with the BASIC-Command SAVE on a storage medium, with the datas in the memory (RAM). This command can used directly or in programs.
The device number is needed for the computer, which relaised the correct storage device:
- datasette (device number 1)
- diskdrives (device numbers 8-15, optional first diskdrive 8, second diskdrive 9, etc.)
When isn't used a device number, the computer uses the first device: datasette.
The VERIFY command can also be used with the the datasette to position the tape at the end of the data being verified. Using this method, you can ensure that new data are written behind the existing data on tape.
For comparing files on disks, it is important to use the filename, which can contain wildcards like * and ?.
During the data compare the BASIC message "VERIFYING" is showing. When the datas in the RAM aren't correct with the saved datas, the BASIC-error "?VERIFY ERROR" appears.
(compare the first programfile on datasette)
(compare this file from diskdrive 8)
(compare the first program 9)
(compare the file, which is in the string FILE$ on tape)