CSPICE_SPKCLS closes an SPK file opened for a write.
For important details concerning this module's function, please refer to
the CSPICE routine spkcls_c.
handle the scalar integer file handle for an open SPK file
closes the file. The close operation tests the file to
ensure the presence of data segments.
A cspice_spkcls call should balance each call to cspice_spkopn.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
;; Define the SPK file parameters.
SPK = 'new_spk.bsp'
ifname = 'Type 2 SPK internal file name.'
ncomch = 10
;; create/open the file.
cspice_spkopn, SPK, ifname, ncomch, handle
... write to the file ...
;; SAFELY close the SPK file.
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
close an spk file