dtio_binding¶
The defined output procedure that formats the items of one derived type in a StringFormat.
Declaration¶
Syntax¶
dtio_binding = (symbol type_declaration, bool polymorphic, symbol procedure,
symbol? callback)
Arguments¶
Argument |
Описание |
|---|---|
|
the declared type of the items, a Struct (possibly through an ExternalSymbol). |
|
whether the items are polymorphic ( |
|
the specific procedure a call for these items would name: the StructMethodDeclaration of a type-bound |
|
a subroutine with seven dummy arguments that calls |
Return values¶
None.
Описание¶
A StringFormat has one
dtio_binding for each declared type and polymorphism among its
derived-type items that has a defined output procedure, and no two with the
same type_declaration and polymorphic. Generic resolution of a defined
output procedure depends only on the declared type of the item, so this pair
determines procedure for every item of the statement, including array
elements and implied-do values. A component of a derived-type item that has no
defined output procedure of its own is not bound, even when the type of the
component has one.
procedure counts as a call in the dependencies of the enclosing procedure,
and procedure and callback must both be visible from the scope of the
expression.