Debian Codegraph @

packages/seacas/libraries/plt/lxnumb.f

raw
1 C Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 C NTESS, the U.S. Government retains certain rights in this software.
4 C
5 C See packages/seacas/LICENSE for details
6
7 C=======================================================================
8 LOGICAL FUNCTION LXNUMB(N,ND,CH)
9 CHARACTER*(*) CH
10 DOUBLE PRECISION N
11 LOGICAL LXSET
12
13 N = 0.
14 ND = 0
15 2580 IF (.NOT. (LXSET('0123456789',CH))) GO TO 2590
16 N = N*10. + DBLE(ICHAR(CH)-ICHAR('0'))
17 ND = ND + 1
18 GO TO 2580
19
20 2590 CONTINUE
21 IF (ND.EQ.0) THEN
22 LXNUMB = .FALSE.
23 RETURN
24
25 END IF
26
27 LXNUMB = .TRUE.
28 RETURN
29
30 END