[fpc-devel] Luhn algorithm implementation

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Apr 1 10:52:22 CEST 2009


2009/3/31 ik <idokan at gmail.com>:
>
> I wrote a unit for Luhn algorithm using FPC, and I want to release it under
> LGPL.
> This algorithm check validity of numbers such as credit cards, and ID
> numbers in some countries.

Maybe if you supply some unit tests (FPCUnit is included with FPC) to
verify that the implementation is correct, it will stand a better
chance of being added into FPC.  Just a thought.  ;-)


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list