Subj : [--- Ebcdic ---] To : Jasen Betts From : Neil Heller Date : Sat Nov 08 2003 01:14 pm JB> NH> To make things more interesting, integer values were little JB> NH> endian but were only 12 bits long. The 13th bit was the start JB> NH> of the next number. That way every 3 bytes held 2 integer JB> NH> values. JB> use sscanf() instead of atoi() - you can specifiy field widths.... Hmmm... if I received a byte value (ASCII) 65 ('A') how would I use sscanf() to specify that val_1 = 6 and val_2 = 5? I've never seen that done with sscanf(). Could you also do do that sprintf()? þ CMPQwk 1.42 999 --- Maximus/2 3.01 * Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000) .