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

Home » Public Forums » archive » ASSOC and structures - structure size problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ASSOC and structures - structure size problem [message #8807] Mon, 28 April 1997 00:00 Go to previous message
sdpp is currently offline  sdpp
Messages: 2
Registered: January 1997
Junior Member
I'm trying to use ASSOC to link a structure with a large file.

The structure consists of lonarr(48) followed by intarr(14423). This pattern
being repeated 16036 times in the file.

I ASSOC the structure with the file (including 16252 byte offset for a file
header)

The structure size should be 29038 bytes , but HELP,/STRUCT gives it as 29040.

I would accept the 2 byte difference as a structure ID or something. But the
data values I'm getting are all wrong - suggesting that ASSOC is not mapping
the structure onto the file correctly, or it's using the wrong structure size
?

Can anyone explain this anomaly.

I'm using DEC Unix 3.2 on an Alpha.

Thanks

Steve

Anite Systems

Bristol UK
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Windows selection in PV-Wave
Next Topic: Re: PRINTING IN IDL4.0

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

Current Time: Sun Oct 12 13:57:48 PDT 2025

Total time taken to generate the page: 0.96076 seconds