At 12:45 -0800 3/18/01, John W Baxter wrote:
>4 bytes:  type code   (TEXT, PICT, styl, etc etc)
>4 bytes:  length of the data (must be even)
>n bytes:  the data
>Repeated until one runs out of stuff.

I put "(must be even)" in the wrong place...IM attaches it to "n bytes".
So the length can be odd but when walking one must add 1 to odd length when
finding the next type code.  Such code wouldn't be wrong.

In fact, my own example shows that...
>       {
>               string,
>               43
>       },


   --John
-- 
John Baxter   [EMAIL PROTECTED]      Port Ludlow, WA, USA

Reply via email to