PVERIFY Command

The PVERIFY command compares the object code of an mvBASIC program with its integral check-sum in order to determine whether the object code has been changed or become corrupted. This command verifies only the executable code

Format

PVERIFY filename progname

Parameter(s)

filename

Name of the file containing mvBASIC programs.

progname

Name of the program whose object code is to be verified.

Description

PVERIFY performs the same function as the ? command in the mvBASIC Debugger. When a program is compiled, a check-sum value is calculated for the object code generated. PVERIFY compares the current version of the object code to the check-sum. If there have been no changes, the following message displays:

[429] 'ITEM' PROGRAM OBJECT VERIFIES; VERSION B

For example:

>PVERIFY BP PROG1

[429] 'PROG1' PROGRAM OBJECT VERIFIES; VERSION B

B lists the version number of the current operating system.

If there have been any changes, the following message displays:

[430] 'ITEM ' PROGRAM OBJECT DOES NOT VERIFY.

If a program does not verify, you should either recompile it or restore it from the last good file-save using the SEL-RESTORE command.