[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pascal
> I agree - defining this as a "little endian 16-bit signed integer" would
> be clearer than "reverse byte order".
yup, he's right. but hey, I was developing on a Mac, not cross
platform, so wasn't thinking universally, but locally. actually it's
unsigned.
> This is an enumerated type, and the constants have not been assigned
> specific values, so the default behaviour applies: the first constant
> (Pas_FileKind_UNTYPED) is zero, and subsequent constants increment by
> one. This means that Pas_FileKind_NUMTYPES is 9.
right again :-) NUMTYPES is not specifically defined in the real
Pascal headers, I stuck that there so I could do a for loop from (0 <=
i < NUMTYPES) and not have to worry about which is which. :-) Make
sense?
- References:
- Pascal
- From: left_the_scene <postmaster@nyc-strip-clubs.com>
- Re: Pascal
- From: me@lazilong.com (Lazarus I. Long)
- Re: Pascal
- From: pausch@saaf.se (Paul Schlyter)
- Re: Pascal
- From: me@lazilong.com (Lazarus I. Long)
- Re: Pascal
- From: pausch@saaf.se (Paul Schlyter)
- Re: Pascal
- From: dempson@actrix.gen.nz (David Empson)