Length of the text of construct_label.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | construct |
one of the |
pure integer function label_width(construct) !! Length of the text of `construct_label`. integer, intent(in) :: construct !! one of the `C_*` constants label_width = 1 if (construct >= 0 .and. construct <= NCONSTRUCTS) label_width = len_trim(LABELS(construct)) end function label_width