>Hi Hilmar,
>
>Thank you for the reply. I was generally trying to do what you said but missed understanding the bit with the ASC().
I see. Well, if you manage to get to the point where you extract a single byte (with fread()), this byte will obviously be of type character, which you have to convert with asc().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)