@@ -80,10 +80,10 @@ subroutine store(this, msg, substring)
80
80
integer (I4B) :: i, n
81
81
82
82
! -- resize message array if needed
83
- inc_array = .TRUE .
83
+ inc_array = .true .
84
84
if (allocated (this% messages)) then
85
- if (this% num_messages > = size (this% messages)) then
86
- inc_array = .FALSE .
85
+ if (this% num_messages < size (this% messages)) then
86
+ inc_array = .false .
87
87
end if
88
88
end if
89
89
if (inc_array) then
@@ -213,7 +213,7 @@ subroutine write_message(text, iunit, fmt, &
213
213
character (len=* ), intent (in ), optional :: fmt ! < format to write the message (default='(a)')
214
214
integer (I4B), intent (in ), optional :: skipbefore ! < number of empty lines before message (default=0)
215
215
integer (I4B), intent (in ), optional :: skipafter ! < number of empty lines after message (default=0)
216
- logical (LGP), intent (in ), optional :: advance ! < whether to use advancing output (default is .TRUE .)
216
+ logical (LGP), intent (in ), optional :: advance ! < whether to use advancing output (default is .true .)
217
217
! -- local
218
218
character (len= 3 ) :: cadvance
219
219
integer (I4B) :: i
@@ -325,7 +325,7 @@ subroutine write_message_counter(text, iunit, icount, iwidth, &
325
325
fmt_cont = ' (A)'
326
326
len_str1 = 0
327
327
len_str2 = len_line
328
- include_counter = .FALSE .
328
+ include_counter = .false .
329
329
j = 0
330
330
331
331
! -- process optional arguments
@@ -343,7 +343,7 @@ subroutine write_message_counter(text, iunit, icount, iwidth, &
343
343
! -- create the counter to prepend to the start of the message,
344
344
! formats, and variables used to create strings
345
345
if (present (iwidth) .and. present (icount)) then
346
- include_counter = .TRUE .
346
+ include_counter = .true .
347
347
348
348
! -- write counter
349
349
write (cfmt, ' (A,I0,A)' ) ' (1x,i' , iwidth, ' ,".",1x)'
0 commit comments