blob: b16205cd7a271d9f6c3203c87f5d5b143ef6e9e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
subroutine getcount (num,linechars)
c***************************************************************************
c this routine simply counts the number of characters in the
c ascii array 'linechars' until the first blank is seen;
c it is most useful for discovering the length of a file name.
c***************************************************************************
character*80 linechars
integer num
do i=num,1,-1
if (linechars(i:i) /= ' ') go to 11
enddo
num = -1
return
11 num = i
return
end
|