Hi, At Thu, 29 May 2003 19:23:44 +0900, Robert Feldt wrote: > > Rather, what about size specifier extends generic integer > > conversion? > > > > [10].pack("i(8)") => "\0\0\0\0\0\0\0\012" # big endian > > => "\012\0\0\0\0\0\0\0" # little endian > > > Sounds like a nice idea. however, for consistency we should also change > 'A10' to 'A(10)'? Might not be adopted since it breaks old code? Now 'A10' means a 10 bytes string. Even if size specifier is provided it should not be changed, however, 'A(10)' would be legal and succeeding count also could be allowed; 'A(10)2' for 2 strings each consist of 10 bytes. -- Nobu Nakada