report_array_size_error Subroutine

public subroutine report_array_size_error(name, var, expected, actual, err)

Reports an array size error.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

The name of the routine in which the error was found.

character(len=*), intent(in) :: var

The name of the offending variable.

integer(kind=int32), intent(in) :: expected

The expected array size.

integer(kind=int32), intent(in) :: actual

The actual array size.

class(errors), intent(inout) :: err

An errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution.


Contents


Variables

Type Visibility Attributes Name Initial
character(len=256), public :: errmsg