Produced by IDL 7.1.1
User Documentation

./guide
nsave.pro

Last modification date:
Wed Sep 28 13:27:09 2016

nsave

procedure nsave, nsave, [buffer=integer], [dc=data container], [ok=variable]

Save a data container to the current fileout with the indicate NSAVE value. If the !g.sprotect flag is true and nsave already exists, then the output file will not be changed and a message to that effect will be printed out. Otherwise, if nsave exists it will be overwritten with the data being saved so that there will only be at most one instance of each nsave value in any file. The data can be recovered by specifying the nsave search parameter. See the examples.

Examples
   getps,10  ; get some data
   ; do stuff to it
   nsave,50  ; its now in nsave=50
   ; do more stuff to that data, oops, thats no good
   ; back to previous state
   kget,nsave=50
 
Version
$Id$

Parameters
nsave
in, required
integer
The output nsave to use when saving this data.

Keywords
buffer
in, optional
integer (def. 0)
The global buffer number to use when saving to disk.
dc
in, optional
data container
A specific data container to save. If dc is set, buffer is ignored.
ok
out, optional
variable
Optionally return the exit status of this procedure. This is 1 on success and 0 on failure. This is chiefly useful when used inside another procedure or function.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:35 2016