One little endian question

Jeff Harrison jeffaharrison at yahoo.com
Sat Mar 1 21:40:46 PST 2008


--- Jeff Harrison <jeffaharrison at yahoo.com> wrote:

> 
> --- Kenneth Brody <kenbrody at bestweb.net> wrote:
> 
[snip]
> > 
> > Why not just use GET16() instead, which defaults
> to
> > using native byte
> > order?
> > 
> > For example, let's assume that the 20 byte header
> is
> > in the variable
> > "Header" and you want @UD:
> > 
> >      longago = "01/01/1983"
> >      thedate = longago + get16(Header,"6")
> > 
> > -- 
> 
> Perfect!  I'll try that.  Thanks!
> 

Not so perfect :(  Apparently get16 is not available
until version 5.6.  I was hoping for something 5.0 or
earlier.  I guess I'm back to trying to figure the @os
values for big vs little endian.

Jeff Harrison
jeffaharrison at yahoo.com

Author of JHImport and JHExport. The fastest and
easiest ways to import and export with filepro. 



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


More information about the Filepro-list mailing list