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 #59099 is a reply to message #59098] Wed, 05 March 2008 06:22 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Mar 5, 2:13 pm, kernin...@gmx.de wrote:
> Hi Chris,
>
> it didn't seem unfriendly to me.
> Here is the error message:
> -----------------------------------
>
> array=read_binary(fname,
> data_dims=[mx,my,mz],data_type=4,endian='little')
> ^
> % Syntax error.
> At: /home/.../clump_pp.pro, Line 276
> % 1 Compilation error(s) in module GET_DATA.
> ----------------------------------------
>
> get_data looks like this in the same file:
>
> ---------------------------------------------
> pro get_data, fname, array
> common shared_variables
> array=fltarr(mx,my,mz)
> array=read_binary(fname,
> data_dims=[mx,my,mz],data_type=4,endian='little')
>
> end
> -------------------------------------------
>
> mx,my,mz are shared variables in the common block.
> Regards,
>
> kerninger

Ok, back to the really simple questions!

Do you really have a line break in the middle of a line here, or is it
just the way google groups is splitting things up?

Try:
array=read_binary(fname, $
data_dims=[mx,my,mz],data_type=4,endian='little')
[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 11:53:34 PDT 2025

Total time taken to generate the page: 0.23708 seconds