PRE>
<h4><a name="Examples">Examples</a></h4>
<PRE>
 
   Suppose that you have states and are prepared to produce 
   a segment of type 05 in an SPK file. 
 
   The following code fragment could be used to add the new segment 
   to a previously opened SPK file attached to handle. The file must 
   have been opened with write access. 
 
      #include &quot;SpiceUsr.h&quot;
             .
             .
             .
      /.
      Create a segment identifier. 
      ./
      ConstSpiceChar  * segid = &quo