/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_shallow_openad2/ad_s_ilnblnk.F
ViewVC logotype

Contents of /MITgcm_contrib/heimbach/OpenAD/code_shallow_openad2/ad_s_ilnblnk.F

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


Revision 1.2 - (show annotations) (download)
Thu Dec 19 16:10:13 2013 UTC (12 years, 10 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
stale

1 #include "CPP_EEOPTIONS.h"
2
3 CBOP
4 C !ROUTINE: ILNBLNK
5
6 C !INTERFACE:
7 subroutine oad_s_ILNBLNK( string, index )
8 IMPLICIT NONE
9
10 C !DESCRIPTION:
11 C *==========================================================*
12 C | FUNCTION ILNBLNK |
13 C | o Find last non-blank in character string. |
14 C *==========================================================*
15
16 C !INPUT PARAMETERS:
17 C string :: string to scan
18 CHARACTER*(*) string
19 integer index
20
21 C !LOCAL VARIABLES:
22 C L, LS :: Temps. used in scanning string
23 INTEGER L, LS
24 CEOP
25 C
26 LS = LEN(string)
27 index = 0
28 L=LS
29 DO while ((L.gt.0).and.(string(L:L) .eq. ' '))
30 L=L-1
31 end do
32 index = L
33 END

  ViewVC Help
Powered by ViewVC 1.1.22