http://grandzebu.net/index.php?page=/informatique/codbar/codbar.htm Code251 Functionyour code seems to function ....
>>chaine$ = chaine$ & (10 - checksum& Mod 10) Mod 10 >>>>
>chaine = chaine + TRANSFORM((10 - checksum%10)%10)
>
>where chaine is a string and checksum is numeric,