Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(inout) | :: | a | |||
integer(kind=int64), | intent(inout) | :: | i | |||
integer(kind=int64), | intent(inout) | :: | b | |||
integer(kind=int64), | intent(inout) | :: | j |
pure subroutine pairSwap(a, i, b, j)
! exchange a pair of integers
integer(int64), intent(inout) :: a, i, b, j
call swap(a, b)
call swap(i, j)
end subroutine pairSwap