You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1022 B
34 lines
1022 B
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
|
C NTESS, the U.S. Government retains certain rights in this software.
|
|
C
|
|
C See packages/seacas/LICENSE for details
|
|
|
|
C=======================================================================
|
|
SUBROUTINE FFADDC (CVAL, LINE)
|
|
C=======================================================================
|
|
|
|
C --*** FFADDC *** (FFLIB) Add character string to line
|
|
C -- Written by Amy Gilkey - revised 11/16/87
|
|
C --
|
|
C --FFADDC adds a character string to a line.
|
|
C --
|
|
C --Parameters:
|
|
C -- CVAL - IN - the character string to add
|
|
C -- LINE - IN/OUT - the line being built
|
|
|
|
CHARACTER*(*) CVAL
|
|
CHARACTER*(*) LINE
|
|
|
|
IF (LINE .EQ. ' ') THEN
|
|
I = 0
|
|
ELSE
|
|
I = LENSTR (LINE) + 1
|
|
IF (I .LE. LEN (LINE)) LINE(I:I) = ' '
|
|
END IF
|
|
IF (I .LT. LEN (LINE)) THEN
|
|
LINE(I+1:) = CVAL
|
|
END IF
|
|
|
|
RETURN
|
|
END
|
|
|