与えられた行がOBJ面行(f)かを判定する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | line |
判定対象の1行文字列。 |
logical pure function is_face_line(line) character(len=*), intent(in) :: line character(:), allocatable :: adj adj = adjustl(line) is_face_line = len_trim(adj) > 1 .and. adj(1:2) == 'f ' end function is_face_line