Posted by Bruno Biancucci on November 13, 2017 at 14:41:58:
In Reply to: CometLib image files posted by Bruno Biancucci on November 01, 2017 at 13:26:00:
Success! Well almost. Just one more thing and I think I've got this sucker licked.
The following is HEX output from the start of the I1A (image file).
123842414C4C42364F4F303033304F4F202020 002020 00000803 00000003 0000093F 0000150003 0002000003 0000000003
xx------------------------------------ xx---- cost1--- cost2--- cost3--- QTY-------
Text data is 100%, but I've got an F in the number field. Best I recall there was some special rule about the F, but for the life of me, I can't remember what it was. Any help?
The cost fields are 6.2, so 00 00 08 03 becomes .80 cents possitive for cost1, cost 2 is zero and cost 3 is .95 cents positive. I was expecting 00000953 in the cost3 field, but I've got this "F" (0000093F). In other cases, the F shows up in the middle of a value (not the last 4 bits). I know the 3 means is positive and the 5 is a negative sign.
Any idea how to deal with the F?
TIA, Bruno.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.