fdoc

typebuffer_t

Text being built.

Components

NameTypeAttributesDefaultDescription
ninteger0

length of the text

scharacter(len=:)allocatable

storage; only s(1:n) is in use

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