avij wrote: ↑Mon May 27, 2019 10:38 pm
I did some changes to the supported denominations and Europa printer codes. Hopefully I didn't break anything. If I had known in advance how messy this Europa serial number system would become over time, I might have chosen some other approach. But maybe it works now, despite the spaghetti code handling the verifications.
During later times, I've been thinking of europacodes. Since new printercodes are in use, when introducing French Oberthur serials, Slovakina flag appears. Once you open the bill, it shows Oberthur french, but when typing it, it doesn't. And I don't know if log is working fine only just because for a happy coincidence slovakian and french checksum numbers happen to be the same.
We will now have the same problem now with Bulgarian banknotes: when typing F, maltan flag will appear.
I don't know how to program, but I was told that there are orders like
if, or
then, or
=, or
true, so, even not knowing how difficult it can be, it would be maybe possible to make verification compare the letters of printer and serial. Show slovakian flag for E if letters are different (E/R, E/G), maltan flag for F (F/R and F/G), or, if letters are equal, french flag for E/E and bulgarian flag for F/F. This would create a problem only with dutch-printed cypriot bills (G/G), but in this case G is not yet in use with europabills, or the verification order includes a comparative of second serial digit being a letter or a number.
Sorry for this, I don't know how it must be done, and how much of a headache it is, just an idea.
In any case, and whatever it goes, and whatever you do, we all can only
THANK YOU A LOT for your work on our hobby.
Good night everybody.