COSMOS v7.655
COSMOSv7655
(AirShowerMC)
Functions/Subroutines
ksupblank.f File Reference
Go to the source code of this file.
Functions/Subroutines
subroutine
ksupblank
(text,
nc
)
Function/Subroutine Documentation
◆
ksupblank()
subroutine ksupblank
(
character*(*)
text
,
integer
nc
)
Definition at line
10
of file
ksupblank.f
.
10
implicit none
11
character*(*)
text
! in/out. string
12
integer
nc
! output. resultant string length
13
!
14
! supress two or more blanks into one blank
15
!
16
integer
i
,
klena
, tl
17
18
i
= 1
19
do
while
(
i
.ne. 0)
20
tl =
klena
(text)
21
i
= index(text(1:tl),
" "
)
22
if
(
i
.gt. 0)
then
23
text(
i
+1:tl) = text(
i
+2:tl)
24
endif
25
enddo
26
nc
= tl
i
nodes i
Definition:
cstdatmos0.fNew2.h:93
klena
integer function klena(cha)
Definition:
klena.f:20
nc
real cut integer nc
Definition:
Zprivate.h:1
KKlib
ksupblank.f
Generated by
1.8.13