Print in a pretty ascii format the components of type Vector.
type(vector) :: pt
pt = ex + ey
call pt%printf(prefix='[x, y, z] = ', sep=', ')
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector), | intent(in) | :: | self | Vector. |
||
| integer(kind=I4P), | intent(in), | optional | :: | unit | Logic unit. |
|
| character, | intent(in), | optional | :: | prefix | Prefix string. |
|
| character, | intent(in), | optional | :: | sep | Components separator. |
|
| character, | intent(in), | optional | :: | suffix | Suffix string. |
|
| integer(kind=I4P), | intent(out), | optional | :: | iostat | IO error. |
|
| character, | intent(out), | optional | :: | iomsg | IO error message. |