Toolkit Tutorial: Programming


  dt_Handle container , molecule ;

 
/* Put molecules in the sequence. */
 
sequence = dt_alloc_seq ();
 
molecule = dt_smilin ( 1 , "O" );
 
dt_append ( sequence , molecule );
 
molecule = dt_smilin ( 12 , "Oc1ccc(O)cc1" );
 
dt_append ( sequence , molecule );