Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: can PV-Wave 'Restore' IDL Save XDR variables?
Scott Smyth <smyth@apex.eas.gatech.edu> writes: > I use IDL and store data in XDR format using IDL's > save routine. However, I would like to pass my data > on to others who use PV-Wave. Does PV-Wave have a function > to restore, /XDR data similar to IDL? PV-Wave has a similar function, but the chance of it restoring an IDL SAVE file are slim and none. (IDL SAVE files don't even bridge different versions of IDL!) If it's just data you want to save (not the name of the variable, etc.), then you are much better off to open an XDR data file, write the variable into it, and send that to your friends. This file they *will* be able to open and read. Your code will look like this: OPENR, unit, 'mydata.dat', /XDR, /Get_Lun WRITEU, unit, variable FREE_LUN, unit Cheers! David ----------------------------------------------------------- David Fanning, Ph.D. Fanning Software Consulting 2642 Bradbury Court, Fort Collins, CO 80521 Phone: 970-221-0438 Fax: 970-221-4762 E-Mail: davidf@dfanning.com Coyote's Guide to IDL Programming: http://www.dfanning.com -----------------------------------------------------------