CYANA Function: ifira: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (1 revision)  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
== Synopsis ==  | |||
'''ifira(''integer'') = ''integer'''''  | |||
== Description ==  | |||
The function returns the index of the first atom that belongs to the  | The function returns the index of the first atom that belongs to the  | ||
Latest revision as of 14:51, 12 August 2009
Synopsis
ifira(integer) = integer
Description
The function returns the index of the first atom that belongs to the residue with the given index, or the special value ifira(nr+1) = na+1.
This function is useful, for instance, to construct a loop over all atoms of a given residue, i:
do j ifira(i) ifira(i+1)-1 print "Atom $anam(j) of residue $rnam(i) $rnum(i)" end do