typebuffer_t
Text being built.
Components
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| n | integer | 0 | length of the text | |
| s | character(len=:) | allocatable | storage; only |
Source
Show the code
type :: buffer_t
!! Text being built.
character(len=:), allocatable :: s !! storage; only `s(1:n)` is in use
integer :: n = 0 !! length of the text
end type buffer_t