1
C===========================================================================
2
C Copyright (C) 1995-2006 European Southern Observatory (ESO)
4
C This program is free software; you can redistribute it and/or
5
C modify it under the terms of the GNU General Public License as
6
C published by the Free Software Foundation; either version 2 of
7
C the License, or (at your option) any later version.
9
C This program is distributed in the hope that it will be useful,
10
C but WITHOUT ANY WARRANTY; without even the implied warranty of
11
C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
C GNU General Public License for more details.
14
C You should have received a copy of the GNU General Public
15
C License along with this program; if not, write to the Free
16
C Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
19
C Correspondence concerning ESO-MIDAS should be addressed as follows:
20
C Internet e-mail: midas@eso.org
21
C Postal address: European Southern Observatory
22
C Data Management Division
23
C Karl-Schwarzschild-Strasse 2
24
C D 85748 Garching bei Muenchen
26
C===========================================================================
28
C ++++++++++++++++++++++++ yplot.for +++++++++++++++++++++++++++++++++++++++
29
C .LANGUAGE Fortran 77
30
C .IDENTIFICATION Module yplot.for
32
C Module contains layer between the keyword related FORTRAN STxxxx interfaces
33
C and the SC_interfaces written in (hopefully independent) C
34
C .AUTHOR K. Banse ESO - Garching
35
C .KEYWORDS standard interfaces.
36
C .ENVIRONMENT FORTRAN and C standards
37
C .VERSION [1.00] 871207: created from SXFTOC.C
40
C -----------------------------------------------------------------------------
42
SUBROUTINE GETINP(CTYPE,CSTRING,MAXVAL,CBUFF,ACTVAL,STATUS)
46
CHARACTER*(*) CTYPE,CSTRING,CBUFF
47
INTEGER MAXVAL, ACTVAL,STATUS
49
CALL STSTR(1,CTYPE) !STRIPPED_STRING
50
CALL STSTR(2,CSTRING) !STRIPPED_STRING
51
CALL STLOC(1,CBUFF) !CHAR_LOC
53
CALL PLSUB1(MAXVAL,ACTVAL,STATUS)