Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | string | |||
logical, | intent(in) | :: | test |
subroutine testit(string,test)
character(len=*),intent(in) :: string
logical,intent(in) :: test
write(*,it,advance='no')arr
if(test)then
print it,':strict:',string,'passed'
else
print it,':strict:',string,'failed'
stop 1
endif
end subroutine testit