Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | cond | |||
character(len=*) | :: | message |
subroutine assert(cond,message)
logical, intent(in) :: cond
character(len=*) message
if (.not. cond) call die(message)
end subroutine assert