comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL byteorder vs VB5 ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL byteorder vs VB5 ? [message #12285 is a reply to message #12284] Wed, 15 July 1998 00:00 Go to previous message
Jonas is currently offline  Jonas
Messages: 23
Registered: May 1998
Junior Member
skiso skrev i meddelandet <35ACC438.F0F112BC@nothing.net>...
> Hi,
>
> I use a .pro file in my Visual Basic project. The fonction read a
> header in a image file.
> The .pro file use the fonction byteorder:
>
> readu, unit, h1
> byteorder, h1, /ntohl
>
> My question is wath is the utility of the byteordre? Does it reverse the
> byte in the array?
> I need to know that because I want to transfert the IDL procedure in
> Visual Basic code but I don't know how to translate this fonction
> (byteorder).
>
> Thanks for your help,
>
> Skiso
>

Hope this helps:
The BYTEORDER procedure converts integers between host and network byte
ordering or floating-point values between the native format and XDR (IEEE)
format.
Calling Sequence: BYTEORDER, Variablen, /keywords
Variablen=A named variable (not an expression or constant) that contains the
data to be converted. The contents of Variablen are overwritten by the new
values.
Keyword HTONL: Set this keyword to perform host to network conversion,
longwords.

Jonas
[Message index]
 
Read Message
Read Message
Previous Topic: Re: MPEG file creation
Next Topic: IDL byteorder vs VB5 ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 05:49:37 PDT 2025

Total time taken to generate the page: 1.83686 seconds