Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: IDL 6.3 rea...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 19 Topic 5506 of 6454
Post > Topic >>

Re: IDL 6.3 read_binary ??

by Spon <christoph.blau@[EMAIL PROTECTED] > Mar 5, 2008 at 06:22 AM

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')
 




 19 Posts in Topic:
IDL 6.3 read_binary ??
kerninger@[EMAIL PROTECTE  2008-03-05 02:22:55 
Re: IDL 6.3 read_binary ??
Spon <christoph.blau@[  2008-03-05 02:29:15 
Re: IDL 6.3 read_binary ??
kerninger@[EMAIL PROTECTE  2008-03-05 05:24:08 
Re: IDL 6.3 read_binary ??
Spon <christoph.blau@[  2008-03-05 05:50:33 
Re: IDL 6.3 read_binary ??
kerninger@[EMAIL PROTECTE  2008-03-05 06:13:53 
Re: IDL 6.3 read_binary ??
Spon <christoph.blau@[  2008-03-05 06:22:52 
Re: IDL 6.3 read_binary ??
kerninger@[EMAIL PROTECTE  2008-03-05 06:37:18 
Re: IDL 6.3 read_binary ??
pgrigis@[EMAIL PROTECTED]  2008-03-05 06:53:23 
Re: IDL 6.3 read_binary ??
Spon <christoph.blau@[  2008-03-05 07:05:36 
Re: IDL 6.3 read_binary ??
Carsten Lechte <chl@[E  2008-03-05 16:47:46 
Re: IDL 6.3 read_binary ??
kerninger@[EMAIL PROTECTE  2008-03-05 09:00:04 
Re: IDL 6.3 read_binary ??
Jean H <jghasban@[EMAI  2008-03-05 10:30:23 
Re: IDL 6.3 read_binary ??
Vince Hradil <hradilv@  2008-03-05 09:40:13 
Re: IDL 6.3 read_binary ??
Spon <christoph.blau@[  2008-03-05 10:13:19 
Re: IDL 6.3 read_binary ??
kerninger@[EMAIL PROTECTE  2008-03-06 10:33:48 
Re: IDL 6.3 read_binary ??
David Fanning <news@[E  2008-03-06 12:23:36 
Re: IDL 6.3 read_binary ??
Craig Markwardt <craig  2008-03-06 22:31:34 
Re: IDL 6.3 read_binary ??
Vince Hradil <hradilv@  2008-03-06 10:44:09 
Re: IDL 6.3 read_binary ??
Spon <christoph.blau@[  2008-03-07 01:09:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 13:55:00 CST 2008.