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 #12284] Wed, 15 July 1998 00:00 Go to previous message
noname is currently offline  noname
Messages: 5
Registered: May 1998
Junior Member
Jonas,

I already read what you post in the online help of IDL. My problem is to find
the same fonction in Visual Basic.
Do you know what it mean this sentense:

> Keyword HTONL: Set this keyword to perform host to network conversion,
> longwords.

Because for me it is pretty obscure. I'm not working on a network so, what is
this keyword for?!?!

Thanks for your answer,

Skiso




Jonas a �crit:

> 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: Fri Oct 10 22:19:59 PDT 2025

Total time taken to generate the page: 1.04042 seconds