One little endian question
Jeff Harrison
jeffaharrison at yahoo.com
Mon Mar 3 07:37:33 PST 2008
--- Kenneth Brody <kenbrody at bestweb.net> wrote:
> Quoting Jeff Harrison (Sun, 2 Mar 2008 13:19:37
> -0800 (PST)):
>
> > --- "Brian K. White" <brian at aljex.com> wrote:
> [...]
> >> ... I dare say none of
> >> us has any endianness tests in our normal apps
> and
> >> we survived this long :)
> >
> > Yes, apparently I am going where no man has gone
> > before :-)
>
> Perhaps no _man_, but Laura certainly did with her
> screen painter.
>
Good thing I worded it that way then :-) Its
old-school as I believe with the movies they changed
it to "where no _one_ has gone before."
> Of course, she has the advantage of reading a screen
> file, which has
> a known "magic number" at the start of the file
> header. If you don't
> mind a little bit of overhead, you could read the
> header of a known
> screen (you could use @FI and @SN) to determine the
> byte order. Do
> you have a copy of her toolkit?
>
[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.
But, looking at a new @cd should work too, right?
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The fastest and
easiest ways to generate filepro exports and imports.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the Filepro-list
mailing list