mpiSequenceCommandLast

Declaration
 MPICommand mpiSequenceCommandLast(MPISequence sequence)
Required Header stdmpi.h
Description

SequenceCommandLast returns the last element in the list. This function can be used in conjuntion with mpiSequenceCommandPrevious() in order to iterate through the list backwards.

  sequence a handle to the Sequence object.
     
Return Values
handle to the last Command in a Sequence (sequence)
MPIHandleVOID if sequence is invalid
if sequence is empty
MPIMessageHANDLE_INVALID if sequence is an invalid handle.
See Also mpiSequenceCommandFirst | mpiSequenceCommandPrevious | mpiSequenceCommandNext