smi_listCreates a global list of distinct SMILES. Syntaxvoid smi_list(list-name,SMILES-field,structure-id-field) list list-name expr SMILES-field,structure-id-field Description
These parameters are used to create a global list called G.smi_list with the following features:
Finally, smi_list() sets a flag (G.key=25) to signal the window trigger that G.smi_list has been created. ExampleChemBio applications must display lists of structures, a task that has two steps. The first step is to generate a list with distinct SMILES and which includes dot disconnected SMILES and their separate moieties. The second step is to use this distinct SMILES list to generate an HTML document to display the structures. The following trigger is the first step and it is executed when an 'Action Button' called 'Structure' is pushed.
{
smi_list(p.wl, @p.smile, @p.wrno);/* create G.smiles_list */
escape(input);
}
The second step takes place in the window trigger where G.smi_list is used by smi2gif() to format an HTML document with a table of structures and display it in the browser.
Updated 19 May 1999. Copyright DataAspects Corp. 1998-1999 |