Alan Curry wrote:
) In article <
[email protected]>,
)|>> Along with multi-character character initializers.
)|>> For example: unsigned long exif_tag = 'EXIF';
)|
)|> Posting that as if it were a piece of code actually encountered in the
)|> wild and considered half-useful made me shed a little tear.
)|
)|It was an idiom very popular on pre-OS X macs, where it was used to
)|create 32-bit values for use as "creator" and "type" tags.
)
) I suppose the byte order question didn't bother anyone, because everyone
) knew Macs would forever be big-endian.
For the record: I encountered it in C code for AmigaOS, for reading
their standard image format (IFF). This was in the early nineties.
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT