mpiSequenceCommand

Declaration
 MPICommand mpiSequenceCommand(MPISequence sequence,
                               long        index) 
Required Header stdmpi.h
Description

SequenceCommand returns the element at the position on the list indicated by index.

  sequence a handle to the Sequence object.
  index a position in the list.
     
Return Values
handle to the indexth Command of a Sequence (sequence)
MPIHandleVOID if sequence is invalid
if index is less than 0
if index is greater than or equal to mpiSequenceCount(sequence)
MPIMessageARG_INVALID if index is a negative number.
MEIListMessageELEMENT_NOT_FOUND if index is greater than or equal to the number of elements in the list.
MPIMessageHANDLE_INVALID if sequence is an invalid handle.
See Also