Danny Angus wrote: >If this has been asked a million times before I'm sorry, >Why are so many arguments shorts, not ints ? > >d. > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > This is done for safety. If the underlying structure is written as a short you the user should be aware that you must fit within the bounds of a short. I think as time moves on more of these will become ints as we've discovered some of these are actually unsigned shorts.
So basically if the file format can only hold a short, better to annoy you with a cast then to annoy you with an overflow or MAX_VALUE type error. -Andy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
