Re: readu/writeu oddity in xdr files [message #7158] |
Wed, 09 October 1996 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Kile Baker <kile_baker@jhuapl.edu> writes:
> I was sent the following program to read an XDR file.
>
> function read_file,filename
> openr,unit,/get_lun,filename,/xdr
> time=''
> filter=''
> m=0
> n=0
> writeu,unit,time
> writeu,unit,filter
> writeu,unit,m,n
> image=fltarr(m,n)
> writeu,unit,image
> close,unit
> return,image
> end
You have mistakenly gotten ahold of a beta version of IDL 5.0.
This completely unpublicized feature will completely revolutionize
IDL programming. No more do you have to actually type what you
want IDL to do. In this version, IDL can *read your mind* and do
what you *thought* you were typing!
I don't know about the rest of you, but this is going to improve
my productivity by about 1000%.
David
P.S. This strange thing works on my Mac too. Now how did I get
ahold of the beta version?!
--
David Fanning, Ph.D.
Phone: 970-221-0438
Fax: 970-221-4728
E-Mail: davidf@fortnet.org
|
|
|