[color=#003399]_-- Mod 10 and 97 Check Digit --_[/color]

For those working with Payment systems that use Check Digits, this is a handy
little extension that will calculate a highlighted set of Numbers needing the
Mod 97 or Mod 10 check digit/sum.


[color=#003399]_-- Usage --_[/color]
Select the Valid Reference Number(s) to be calculated and run Script. 

_Script\Mod 10 - Mod 97 Check Digit\_

_** Mod 10 Check Digit*_
_** Mod 97 Check Digit*_

[color=#FF0000]_-- Note --_[/color]
Each company will have a different Vendor ID No for Mod 97 calculations. You can
change this number in the variable section of the script.

[color=#003399]_-- Sample Log Results --_[/color]
Check Digits are in the Square Brackets
------ Mod Calc 10 Start ------
Date and Time: 8/14/2008 4:09:16 PM
Line Count: 14
Value: 8499  [6]
Value: 8551  [4]
Value: 8952  [4]
Value: 8953  [2]
Value: 42645  [2]
Value: 121540  [9]
Value: 121542  [5]
Value: 146830  [5]
Value: 152823  [1]
Value: 152863  [7]
Value: 182697  [3]
Value: 200249  [1]
Value: 200401  [8]
Value: 676639  [8]
------ Mod Calc 10 Complete ------


------ Mod Calc 97 Start ------
Date and Time: 8/14/2008 4:10:48 PM
Line Count: 14
Value: 8499  [79]
Value: 8551  [55]
Value: 8952  [50]
Value: 8953  [70]
Value: 42645  [96]
Value: 121540  [41]
Value: 121542  [81]
Value: 146830  [96]
Value: 152823  [85]
Value: 152863  [64]
Value: 182697  [19]
Value: 200249  [36]
Value: 200401  [30]
Value: 676639  [72]
------ Mod Calc 97 Complete ------

-- 
<http://forum.pspad.com/read.php?2,35782,47927>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem