One little endian question

Jeff Harrison jeffaharrison at yahoo.com
Mon Mar 3 09:44:40 PST 2008


--- Kenneth Brody <kenbrody at bestweb.net> wrote:

> Quoting Jeff Harrison (Mon, 3 Mar 2008 07:37:33
[snip]

> > Good point - for some reason I was thinking that I
> > couldn't rely on a format file that I provided -
> but
> > of course anyone running big-endian will need to
> run
> > swap-cpu anyway - so that will work.
> 
> Well, if you're on a big-endian system, the screen
> will be big-endian.  I'm
> not sure what swapcpu has to do with things.
>

Well, I'm on a little endian system.  So if I send a
big-endian user my application they will need to run
swap-cpu on it in order to use it - right?  Doesn't
swapcpu adjust the binary information to the proper
endian format?
 
> > But, looking at a new @cd should work too, right?
> 
> It will fail every 256 days, the next one being
> 1-May-2008.  (I leave it
> as an exercise to the reader to figure out why.)
> 

Doh!  I see. 2424 - which byte should come first?

Thanks!

Jeff Harrison
jeffaharrison at yahoo.com

Author of JHExport and JHImport.  The fastest and
easiest ways to generate filepro exports and imports.



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the Filepro-list mailing list