-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmnunpt.F
31 lines (31 loc) · 830 Bytes
/
mnunpt.F
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
*
* $Id: mnunpt.F,v 1.1.1.1 2000/06/08 11:19:20 andras Exp $
*
* $Log: mnunpt.F,v $
* Revision 1.1.1.1 2000/06/08 11:19:20 andras
* import of MINUIT from CERNlib 2000
*
* Revision 1.1.1.1 1996/03/07 14:31:32 mclareni
* Minuit
*
*
#include "minuit/pilot.h"
LOGICAL FUNCTION MNUNPT(CFNAME)
C is .TRUE. if CFNAME contains unprintable characters.
CHARACTER CFNAME*(*)
CHARACTER CPT*80, CP1*40,CP2*40
PARAMETER (CP1=' ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklm')
PARAMETER (CP2='nopqrstuvwxyz1234567890./;:[]$%*_!@#&+()')
CPT=CP1//CP2
MNUNPT = .FALSE.
L = LEN(CFNAME)
DO 100 I= 1, L
DO 50 IC= 1, 80
IF (CFNAME(I:I) .EQ. CPT(IC:IC)) GO TO 100
50 CONTINUE
MNUNPT = .TRUE.
GO TO 150
100 CONTINUE
150 CONTINUE
RETURN
END