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

Home » Public Forums » archive » Re: IDL 6.3 read_binary ??
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 6.3 read_binary ?? [message #59085] Wed, 05 March 2008 10:13 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
Jean H wrote:
> kerninger@gmx.de wrote:
>> I checke all of your ideas but still the same problem.
>> I only compiled this procedure alone and I get the same error message.
>> thanks for your contribution so far.
>>
>> kerninger
>>
>
> so, there is one thing we haven't check: the content of "fname".... It
> should fire a runtime error, not a syntax, but let's see...
>
> especially, are the path separator the good ones for your machine? you
> said you have tried the same code under IDL5.6... is it on the same
> operating system?
>
> Jean

There's another tack we could take: it looks to me like IDL is having
trouble finding the
READ_BINARY function, though heaven knows why.

*IF* this is the case then I suspect that by adding in the line:

forward_function read_binary

before your "array=..." line will at best make the problem go away and
at worst get rid of the compilation error and replace it with a "%
Attempt to call undefined procedure/function:" message.
Then all you'll have to do is find out _why_ IDL isn't finding the
function ;-)

Are you defining a variable called read_binary somewhere?

Do you have a string that ends in:
.../rsi/idl_6.3/lib

somewhere in the output of:
print,transpose(strsplit(!path,':',/extract)) ; ?

- I'm assuming a *nix OS due to the forward slashes you reported here:
% Syntax error.
At: /home/.../clump_pp.pro, Line 276
% 1 Compilation error(s) in module GET_DATA.

This is getting interesting...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Handling large arrays in IDL
Next Topic: Re: Histogram and bin sizes

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

Current Time: Fri Oct 10 00:53:17 PDT 2025

Total time taken to generate the page: 1.11721 seconds