HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
222 Chapter5
Reformatting Specifications
Output Field Menu
10 or modulo 11 is specified.
Examples:
CHECKDIGIT 10 Calculate check digit according to modulo 10 formula and add it
following rightmost nonblank digit.
CHECKDIGIT 11 Calculate check digit according to modulo 11 formula and add it
following rightmost nonblank digit.
If the product generated by a CHECKDIGIT 11 calculation evaluates to 10,
this is considered invalid and the following message is issued when
REFORMAT is executed:
"Check digit is invalid for modulus 11 calculation."
If the product generated by a CHECKDIGIT 11 calculation evaluates to 11, a
zero is appended to the basic number.