On Mar 5, 2:13 pm, kernin...@[EMAIL PROTECTED]
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')


|