ターミナル操作を扱うモジュール
program sample
use terminalControler_m
call set_formatTC('("PROGRESS [ #progress : ",i6," / ",i6," ]")')
do i = 1, imax
call print_progress([i, imax])
end do
end program sample
進捗を表示する
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | array(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | array(:) |
進捗を表示するためのフォーマットを指定 指定時に改行が起こる(あとで戻ってくるため)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fmt_str |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |