Cloned SEACAS for EXODUS library with extra build files for internal package management.
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.
 
 
 
 
 
 

39 lines
879 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 CPUCML(LINE,PROMPT,L)
CHARACTER*(*) LINE,PROMPT
LOGICAL FIRST
DATA FIRST/.TRUE./
IF (FIRST) THEN
FIRST = .FALSE.
LINE = ' '
RETURN
ELSE
IF (L.LT.0) THEN
CALL CHRTRM(PROMPT,LP)
ELSE
LP = L
END IF
IF (LP.NE.0) THEN
WRITE (6,'(1x,a)') PROMPT(1:LP)
END IF
READ (5,'(a)',ERR=10,END=10) LINE
CALL CHRTRM(LINE,L)
END IF
RETURN
10 L = -1
RETURN
END