D.8.11 Get_Version_Collected_Array Procedure

The main documentation of the Get_Version_Collected_Array Procedure contains additional explanation of this code listing.

  function Get_Version_Collected_Array (CA) result(Version)

    ! Input variable.

    type(Collected_Array_type), intent(in) :: CA   ! Variable to be queried.

    ! Output variable.

    type(integer) :: Version                       ! Version number.


    ! Verify requirements.

    VERIFY(Valid_State(CA),5)      ! CA is valid.

    ! Get the value.

    Version = CA%Version

    ! Verify guarantees - none.

  end function Get_Version_Collected_Array

Michael L. Hall