CYANA Function: matchatom: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
 
No edit summary
 
Line 1: Line 1:
== Synopsis ==


Synopsis: matchatom(''integer'',''string'') = ''integer''
'''matchatom(''integer'',''string'') = ''integer'''''
 
== Description ==


This logical function returns 1 (true) if the first argument is
This logical function returns 1 (true) if the first argument is

Latest revision as of 14:58, 12 August 2009

Synopsis

matchatom(integer,string) = integer

Description

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, ..