Represents text as a sequence of ASCII code units. The derived type wraps an allocatable character array.
Initializes a new instance of the label_type class
type(string) function string(character(*) text, integer first, integer length, (optional) integer level)
| [in] | text | Text displayed next to the label |
| [in] | first | Position of the label |
| [in] | length | Length of the label |
| [in] | level | (optional) Level of the label |
Examples
type(string) function label_type(integer line, character(*) text, integer first, integer length, (optional) integer level, (optional) logical primary)
| [in] | line | line number for the label |
| [in] | text | Text displayed next to the label |
| [in] | first | Position of the label |
| [in] | length | Length of the label |
| [in] | level | (optional) Level of the label |
| [in] | primary | .true. if the label is the primary one |
Examples
Definition at line 246 of file logging.f90.
Variables | |
| integer, allocatable | level |
| Level of message. | |
| logical | primary |
| Primary message. | |
| integer | line |
| Line number of message. | |
| integer | first |
| First character of message. | |
| integer | last |
| Last character of message. | |
| character(:), allocatable | text |
| Message text. | |
| character(:), allocatable | source |
| Identifier of context. | |