>  .getc can be used to read characters (1 byte) at a time.  Is there
> anything that will read a word or dword at a time?
> 
> Currently I'm getting around it by doing:
> 
> data16 = a.getc | (a.getc << 8)

String/Array pack() and unpack()

+--- Kero ------------------------------ kero / chello.nl ---+
|  Don't split your mentality without thinking twice       |
|                          Proud like a God -- Guano Apes  |
+--- M38c ---------- http://httpd.chello.nl/k.vangelder ---+