Matchatom: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
= matchatom =
     
Synopsis: matchatom(''integer'',''string'') = ''integer''
Synopsis: matchatom(''integer'',''string'') = ''integer''



Latest revision as of 19:18, 28 January 2009

matchatom

Synopsis: matchatom(integer,string) = integer

This logical function returns 1 (true) if the first argument is the number of an atom that is matched by the atom selection of the seconand argument, or 0 (false) otherwise.

Optionally, the integer atom index can be replaced by a string consisting of the atom name and the residue number, separated by a blank or a period, ..