3.1.8 SAVE [IDL]


next up previous contents
Next: TIFF_WRITE [IDL-LIB] Up: 3.1 Routines for Reading Previous: SAV_HXI

3.1.8 SAVE [IDL]

SAVE is an IDL facility that will save variables, etc. into a file of your choice. To save a variables a, b, and c to the default file `idlsave.dat', type: IDL> save, a, b, c  To save to the file `junk.save', type: IDL> save, a, b, c, filename='junk.save'To save all variables, type: IDL> save, /all, filename='junk.save'CAUTION: When restoring the data, the variable names are restored exactly as they were saved, so if you saved a, b and c, then when you restore that save set, any existing variables a, b and c are deleted when the restore occurs. A sample command to restore data is: IDL> restore, 'junk.save' 


ydac@mssly1.mssl.ucl.ac.uk