From: nizea AT es DOT co DOT nz (Dave Smith) Newsgroups: comp.os.msdos.djgpp Subject: Simple Question Date: 13 Mar 1997 11:51:45 GMT Organization: Efficient Software Internet Service Lines: 10 Message-ID: <5g8poh$q7u@Chaos.es.co.nz> NNTP-Posting-Host: port37-max01dn.es.co.nz Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Heya peoples, I have a simple question (I hope) for some of you out there :) How in C (esp. GCC) do I find the high order of a byte, in Turbo pascal I would do this... a := Hi($1234) which would return ($12), how can I do this in DJGPP? Thanks heaps Dave