/[MITgcm]/MITgcm/pkg/openad/ad_s_ifnblnk.F
ViewVC logotype

Contents of /MITgcm/pkg/openad/ad_s_ifnblnk.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Jul 8 19:05:13 2014 UTC (9 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64z, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint65, HEAD
Changes since 1.1: +3 -0 lines
add CVS Header and/or Name

1 C $Header: $
2 C $Name: $
3
4 #include "CPP_EEOPTIONS.h"
5
6 CBOP
7 C !ROUTINE: IFNBLNK
8
9 C !INTERFACE:
10 subroutine oad_s_IFNBLNK( string, index )
11 IMPLICIT NONE
12
13 C !DESCRIPTION:
14 C *==========================================================*
15 C | FUNCTION IFNBLNK |
16 C | o Find first non-blank in character string. |
17 C *==========================================================*
18 C
19 C !INPUT PARAMETERS:
20 C string :: String to find first non-blank in.
21 CHARACTER*(*) string
22 integer index
23
24 C !LOCAL VARIABLES:
25 C L, LS :: Temps for string locations
26 INTEGER L, LS
27 CEOP
28 C
29 LS = LEN(string)
30 index = 0
31 L=1
32 DO while ((L.le.LS).and.(string(L:L) .eq. ' '))
33 L=L+1
34 end do
35 index = L
36 END

  ViewVC Help
Powered by ViewVC 1.1.22