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

Home » Public Forums » archive » Proper use of assoc
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Proper use of assoc [message #33176] Fri, 13 December 2002 09:34 Go to previous message
abbotta is currently offline  abbotta
Messages: 2
Registered: December 2002
Junior Member
Hi. I'm having a problem using associated i/o. I have a series of
files that contain arrays of uints. I'm trying to use assoc to be
able to access the arrays, but I so far have had no luck in getting
it to work.

The error that I'm getting is: "File expression not allowed in this
context:<UINT FILE>". I get this error when I try to execute the
assoc statement. I've checked for an error when the file is opened,
but have detected none.

Can anybody point out what I'm doing wrong?

pro fileSet::createAssociation, filename,samples

openu,1,filename, ERROR = err
IF (err NE 0) then PRINTF, -2, !ERROR_STATE.MSG
self.sonarData = assoc(1,uintarr(samples))
end

samples = the number of uints.
[Message index]
 
Read Message
Read Message
Previous Topic: 3D scatterplots?
Next Topic: Bug in IDLgrPolygon ?

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

Current Time: Fri Oct 10 14:59:23 PDT 2025

Total time taken to generate the page: 2.00251 seconds