gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
dcstringfprintf.f90
Go to the documentation of this file.
1! -*- mode: f90; coding: utf-8 -*-
2!-----------------------------------------------------------------------
3! Copyright (c) 2000-2026 Gtool Development Group. All rights reserved.
4!-----------------------------------------------------------------------
23
67subroutine dcstringfprintf(unit, fmt, i, r, d, L, n, c1, c2, c3, ca)
68
69 use dc_types, only: string, dp,sp
70 use dc_string, only: printf
71 implicit none
72 integer, intent(in), optional:: unit
73 character(*), intent(in):: fmt
74 integer, intent(in), optional:: i(:), n(:)
75 real(SP), intent(in), optional:: r(:)
76 real(DP), intent(in), optional:: d(:)
77 logical, intent(in), optional:: L(:)
78 character(*), intent(in), optional:: c1, c2, c3
79 character(*), intent(in), optional:: ca(:)
80 character(STRING):: buf
81 continue
82 call printf(buf, fmt, i=i, r=r, d=d, l=l, n=n, &
83 & c1=c1, c2=c2, c3=c3, ca=ca)
84 if (present(unit)) then
85 write(unit, '(A)') trim(buf)
86 else
87 write(*, '(A)') trim(buf)
88 endif
89end subroutine dcstringfprintf
subroutine dcstringfprintf(unit, fmt, i, r, d, l, n, c1, c2, c3, ca)
書式変換出力 (装置番号版)
文字型変数の操作
Definition dc_string.f90:83
種別型パラメタを提供します。
Definition dc_types.f90:55
integer, parameter, public sp
単精度実数型変数
Definition dc_types.f90:82
integer, parameter, public dp
倍精度実数型変数
Definition dc_types.f90:92
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition dc_types.f90:137