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,':lastonly:',string,'passed'
else
print it,':lastonly:',string,'failed'
stop 1
endif
end subroutine testit