| 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 FFNUMB (IFLD, INTYP) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** FFNUMB *** (FFLIB) Return number field status |
| 12 |
C -- Written by Amy Gilkey - revised 08/26/86 |
| 13 |
C -- |
| 14 |
C --FFNUMB returns true if and only if the field is a number (an |
| 15 |
C --integer or a real). |
| 16 |
C -- |
| 17 |
C --Parameters: |
| 18 |
C -- IFLD - IN - the index of the current field number |
| 19 |
C -- INTYP - IN - the input type from the free-field reader |
| 20 |
|
| 21 |
INTEGER IFLD |
| 22 |
INTEGER INTYP(*) |
| 23 |
|
| 24 |
FFNUMB = (INTYP(IFLD) .EQ. 1) .OR. (INTYP(IFLD) .EQ. 2) |
| 25 |
|
| 26 |
RETURN |
| 27 |
END |