Name of a construct for messages ('if', 'select', 'end' for a bare end), or '?'.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | construct |
one of the |
pure function construct_label(construct) result(label) !! Name of a construct for messages (`'if'`, `'select'`, `'end'` for a bare `end`), or `'?'`. integer, intent(in) :: construct !! one of the `C_*` constants character(len=label_width(construct)) :: label if (construct < 0 .or. construct > NCONSTRUCTS) then label = '?' else label = LABELS(construct) end if end function construct_label