#include "implicit_f.inc"
Go to the source code of this file.
|
| integer function | nvar (text) |
◆ nvar()
| integer function nvar |
( |
character(len=ncharline100) | text | ) |
|
Definition at line 31 of file nvar.F.
32
33
34
36
37
38
39#include "implicit_f.inc"
40
41
42
43
44
45
46
47 CHARACTER(LEN=NCHARLINE100):: TEXT
48
49
50
51 INTEGER N, I, J
52 CHARACTER TEXT1*101
53
54 text1(1:1)=' '
55 text1(2:101)=text
56 n=0
57 DO i=2,101
58 j=i-1
59 IF(text1(i:i) /= ' ' .AND. text1(j:j) == ' ') THEN
60 n=n+1
61 ENDIF
62 ENDDO
64 RETURN
integer, parameter ncharline100
integer function nvar(text)