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

Home » Public Forums » archive » Re: LONG - reads 4 or 8 bytes??
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: LONG - reads 4 or 8 bytes?? [message #51895 is a reply to message #51894] Wed, 13 December 2006 08:37 Go to previous messageGo to previous message
subir.vasanth is currently offline  subir.vasanth
Messages: 5
Registered: March 2006
Junior Member
Thanks for your reply Rick. Here is the output of running the 'print,
!Version' on the two workstations.

- Workstation on which LONG reads 4 bytes
WAVE> print, '!Version
{ sparc solaris 8.50 sun4}

- Workstation on which LONG reads 8 bytes
WAVE> print, "!Version"
{ sparc solaris64 8.51 b sun4}

Any ideas on how to change the PV-Wave configuration to run the 64-bit
version?

Thanks,
Subir

Rick Towler wrote:
> Are you running the 64-bit version on one machine and the 32-bit version
> on the other?
>
> Try print, !Version or PV-Wave's equivalent.
>
> -Rick
>
>
> subir wrote:
>> Hi All,
>>
>> I would appreciate if someone could help me with a problem that we are
>> having. I am trying to use the LONG function to convert bytes in to a
>> longword.
>>
>> On the first workstation (Solaris 10, PV-Wave v 8.51) LONG reads 8
>> bytes from the input byte array. However, on the second workstation
>> (Solaris 10, PV-Wave v8.50), LONG reads only the first 4 bytes! Is
>> there a configuration setting that needs to be set for LONG to read 8
>> bytes instead of 4. Has anybody out there had a similar problem?
>>
>> Please let me know if you need more information of the environment in
>> which we are running.
>>
>> Thanks!
>>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: file_expand_path
Next Topic: Spawning EML Scripts in IDL

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

Current Time: Sat Nov 29 21:11:21 PST 2025

Total time taken to generate the page: 0.32164 seconds