hex2smiConverts a hexadecimal string into a SMILES. Syntaxexpr hex2smi(hexadecimal) char hexadecimal Description
The DayCGI often returns hexadecimal expressions of SMILES inside an HTML document. hex2smi() can be used to convert this expression into a SMILES for screen display or writing to a database. ExampleConvert a hexadecimal string returned from the DayCGI into a SMILES.
{
char smi[2000];
char hex[4000];
hex= "4343";
smi= hex2smi(hex);
status(smi); /* SMILES 'CC' is displayed */
}
Updated 19 May 1999. Copyright DataAspects Corp. 1998-1999 |