FORTRAN Generation
(/./ftp/cats/J/A_A/493/79)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/493/79 into FORTRAN code for reading data files line by line.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Sep-08
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/A+A/493/79     UBVRI photometry in Pismis 11 and Alicante 5    (Marco+, 2009)
*================================================================================
*The open cluster Pismis 11 and the very luminous blue supergiant HD 80077.
*I. Physical parameters of the cluster.
*    Marco A., Negueruela I.
*   <Astron. Astrophys. 493, 79 (2009)>
*   =2009A&A...493...79M
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Position in the map of stars with photometry
                              in the field of Pismis 11 (No. 1 to 147)

      integer*4 nr__
      parameter (nr__=145)	! Number of records
      character*64 ar__   	! Full-size record

C  J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension J2000.0
      real*8        DEdeg       ! (deg)     Declination J2000.0
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     Seq         ! [1/147] Number of the star in our nomenclature
      real*8        Xpos        ! (pix) ?=- X-Pixel position in the map
      real*8        Ypos        ! (pix) ?=- Y-Pixel position in the map
      integer*4     RAh         ! (h) ? Right ascension (J2000.0)
      integer*4     RAm         ! (min) ? Right ascension (J2000.0)
      real*4        RAs         ! (s) ? Right ascension (J2000.0)
      character*1   DE_         ! Declination sign (J2000.0)
      integer*4     DEd         ! (deg) ? Declination (J2000.0)
      integer*4     DEm         ! (arcmin) ? Declination (J2000.0)
      real*4        DEs         ! (arcsec) ? Declination (J2000.0)
      character*12  USNOB1      ! ?=- USNOB-1 identification
      character*5   Note        ! [2MASS ] For stars that have not
*                                    identification in USNOB-1, we use
*                                    2MASS identification

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Photometry for stars in Pismis 11

      integer*4 nr__1
      parameter (nr__1=145)	! Number of records
      character*95 ar__1  	! Full-size record

      integer*4     Seq_1       ! [1/147] Number of the star in our nomenclature
      real*4        Vmag        ! (mag) ?=- Magnitude in V band
      real*4        e_Vmag      ! (mag) ?=- Deviation Standard  in V
      integer*4     o_Vmag      ! ?=- Number of measurements in V
      real*4        V_R         ! (mag) ?=- Color index (V-R)
      real*4        e_V_R       ! (mag) ?=- Deviation Standard  in (V-R)
      integer*4     o_V_R       ! ?=- Number of measurements in (V-R)
      real*8        V_I         ! (mag) ?=- Color index (V-I)
      real*4        e_V_I       ! (mag) ?=- Deviation Standard  in (V-I)
      integer*4     o_V_I       ! ?=- Number of measurements in (V-I)
      real*4        U_B         ! (mag) ?=- Color index (U-B)
      real*4        e_U_B       ! (mag) ?=- Deviation Standard  in (U-B)
      integer*4     o_U_B       ! ?=- Number of measurements in (U-B)
      real*4        Bmag        ! (mag) ?=- Magnitude in B
      real*4        e_Bmag      ! (mag) ?=- Deviation standard in B
      integer*4     o_Bmag      ! ?=- Number of measurements in B
      real*4        B_V         ! (mag) ? Color index (B-V)
      real*4        e_B_V       ! (mag) ? Deviation Standard  in (B-V)
      integer*4     o_B_V       ! ? Number of measurements in (B-V)
      character*1   Flag        ! [*] * indicates "Photometry for membership" in
*                                      tables 8 and 9 (for tables 3 and 5 resp.)

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table5.dat'	! Photometry for stars in Alicante 5

      integer*4 nr__2
      parameter (nr__2=105)	! Number of records
      character*95 ar__2  	! Full-size record

      integer*4     Seq_2       ! [1/147] Number of the star in our nomenclature
      real*4        Vmag_1      ! (mag) ?=- Magnitude in V band
      real*4        e_Vmag_1    ! (mag) ?=- Deviation Standard  in V
      integer*4     o_Vmag_1    ! ?=- Number of measurements in V
      real*4        V_R_1       ! (mag) ?=- Color index (V-R)
      real*4        e_V_R_1     ! (mag) ?=- Deviation Standard  in (V-R)
      integer*4     o_V_R_1     ! ?=- Number of measurements in (V-R)
      real*8        V_I_1       ! (mag) ?=- Color index (V-I)
      real*4        e_V_I_1     ! (mag) ?=- Deviation Standard  in (V-I)
      integer*4     o_V_I_1     ! ?=- Number of measurements in (V-I)
      real*4        U_B_1       ! (mag) ?=- Color index (U-B)
      real*4        e_U_B_1     ! (mag) ?=- Deviation Standard  in (U-B)
      integer*4     o_U_B_1     ! ?=- Number of measurements in (U-B)
      real*4        Bmag_1      ! (mag) ?=- Magnitude in B
      real*4        e_Bmag_1    ! (mag) ?=- Deviation standard in B
      integer*4     o_Bmag_1    ! ?=- Number of measurements in B
      real*4        B_V_1       ! (mag) ? Color index (B-V)
      real*4        e_B_V_1     ! (mag) ? Deviation Standard  in (B-V)
      integer*4     o_B_V_1     ! ? Number of measurements in (B-V)
      character*1   Flag_1      ! [*] * indicates "Photometry for membership" in
*                                      tables 8 and 9 (for tables 3 and 5 resp.)

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table6.dat'	! Position in the map of stars with photometry
                              in Alicante 5 (No. 1 to 105)

      integer*4 nr__3
      parameter (nr__3=105)	! Number of records
      character*64 ar__3  	! Full-size record

C  J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_1     ! (deg) Right Ascension J2000.0
      real*8        DEdeg_1     ! (deg)     Declination J2000.0
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     Seq_3       ! [1/147] Number of the star in our nomenclature
      real*8        Xpos_1      ! (pix) ?=- X-Pixel position in the map
      real*8        Ypos_1      ! (pix) ?=- Y-Pixel position in the map
      integer*4     RAh_1       ! (h) ? Right ascension (J2000.0)
      integer*4     RAm_1       ! (min) ? Right ascension (J2000.0)
      real*4        RAs_1       ! (s) ? Right ascension (J2000.0)
      character*1   DE__1       ! Declination sign (J2000.0)
      integer*4     DEd_1       ! (deg) ? Declination (J2000.0)
      integer*4     DEm_1       ! (arcmin) ? Declination (J2000.0)
      real*4        DEs_1       ! (arcsec) ? Declination (J2000.0)
      character*12  USNOB1_1    ! ?=- USNOB-1 identification
      character*5   Note_1      ! [2MASS ] For stars that have not
*                                    identification in USNOB-1, we use
*                                    2MASS identification

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table8.dat'	! Photometry for membership in Pismis 11

      integer*4 nr__4
      parameter (nr__4=43)	! Number of records
      character*64 ar__4  	! Full-size record

      integer*4     Seq_4       ! [1/147] Number of the star in our nomenclature
      real*4        V0mag       ! (mag) Deredening magnitude in V band
      real*4        e_V0mag     ! (mag) Deviation Standard in V0
      real*4        E_B_V       ! (mag) Color excess in (B-V)
      real*4        e_E_B_V     ! (mag) Deviation Standard in E(B-V)
      real*4        AV          ! (mag) ?=- Absorption in V band
      real*4        e_AV        ! (mag) ?=- Deviation standard in AV
      real*4        v_B_V_0     ! (mag) Intrinsic color in (B-V)
      real*4        e__B_V_0    ! (mag) Deviation Standard  in (B-V)0
      character*10  SpType      ! Spectral type obtained by photometry

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table9.dat'	! Photometry for membership in Alicante 5

      integer*4 nr__5
      parameter (nr__5=22)	! Number of records
      character*64 ar__5  	! Full-size record

      integer*4     Seq_5       ! [1/147] Number of the star in our nomenclature
      real*4        V0mag_1     ! (mag) Deredening magnitude in V band
      real*4        e_V0mag_1   ! (mag) Deviation Standard in V0
      real*4        E_B_V_1     ! (mag) Color excess in (B-V)
      real*4        e_E_B_V_1   ! (mag) Deviation Standard in E(B-V)
      real*4        AV_1        ! (mag) ?=- Absorption in V band
      real*4        e_AV_1      ! (mag) ?=- Deviation standard in AV
      real*4        v_B_V_0_1   ! (mag) Intrinsic color in (B-V)
      real*4        e__B_V_0_1  ! (mag) Deviation Standard  in (B-V)0
      character*10  SpType_1    ! Spectral type obtained by photometry

C=============================================================================

C  Loading file 'table2.dat'	! Position in the map of stars with photometry
*                              in the field of Pismis 11 (No. 1 to 147)

C  Format for file interpretation

    1 format(
     +  I3,1X,F7.2,1X,F7.2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,
     +  1X,A12,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,145
        read(1,'(A64)')ar__
        read(ar__,1)
     +  Seq,Xpos,Ypos,RAh,RAm,RAs,DE_,DEd,DEm,DEs,USNOB1,Note
        if (idig(ar__(5:11)).EQ.0) Xpos =  rNULL__
        if (idig(ar__(13:19)).EQ.0) Ypos =  rNULL__
        if(ar__(21:22) .EQ. '') RAh = iNULL__
        if(ar__(24:25) .EQ. '') RAm = iNULL__
        if(ar__(27:32) .EQ. '') RAs = rNULL__
        if(ar__(35:36) .EQ. '') DEd = iNULL__
        if(ar__(38:39) .EQ. '') DEm = iNULL__
        if(ar__(41:45) .EQ. '') DEs = rNULL__
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  Seq,Xpos,Ypos,RAh,RAm,RAs,DE_,DEd,DEm,DEs,USNOB1,Note
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table3.dat'	! Photometry for stars in Pismis 11

C  Format for file interpretation

    2 format(
     +  I3,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F7.4,1X,
     +  F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,
     +  F5.3,1X,F5.3,1X,I1,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,145
        read(1,'(A95)')ar__1
        read(ar__1,2)
     +  Seq_1,Vmag,e_Vmag,o_Vmag,V_R,e_V_R,o_V_R,V_I,e_V_I,o_V_I,U_B,
     +  e_U_B,o_U_B,Bmag,e_Bmag,o_Bmag,B_V,e_B_V,o_B_V,Flag
        if (idig(ar__1(5:10)).EQ.0) Vmag =  rNULL__
        if (idig(ar__1(12:16)).EQ.0) e_Vmag =  rNULL__
        if (o_Vmag .EQ. 45) o_Vmag =  iNULL__
        if (idig(ar__1(20:25)).EQ.0) V_R =  rNULL__
        if (idig(ar__1(27:31)).EQ.0) e_V_R =  rNULL__
        if (o_V_R .EQ. 45) o_V_R =  iNULL__
        if (idig(ar__1(35:41)).EQ.0) V_I =  rNULL__
        if (idig(ar__1(43:47)).EQ.0) e_V_I =  rNULL__
        if (o_V_I .EQ. 45) o_V_I =  iNULL__
        if (idig(ar__1(51:56)).EQ.0) U_B =  rNULL__
        if (idig(ar__1(58:62)).EQ.0) e_U_B =  rNULL__
        if (o_U_B .EQ. 45) o_U_B =  iNULL__
        if (idig(ar__1(66:71)).EQ.0) Bmag =  rNULL__
        if (idig(ar__1(73:77)).EQ.0) e_Bmag =  rNULL__
        if (o_Bmag .EQ. 45) o_Bmag =  iNULL__
        if(ar__1(81:85) .EQ. '') B_V = rNULL__
        if(ar__1(87:91) .EQ. '') e_B_V = rNULL__
        if(ar__1(93:93) .EQ. '') o_B_V = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  Seq_1,Vmag,e_Vmag,o_Vmag,V_R,e_V_R,o_V_R,V_I,e_V_I,o_V_I,U_B,
     +  e_U_B,o_U_B,Bmag,e_Bmag,o_Bmag,B_V,e_B_V,o_B_V,Flag
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table5.dat'	! Photometry for stars in Alicante 5

C  Format for file interpretation

    3 format(
     +  I3,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F7.4,1X,
     +  F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,
     +  F5.3,1X,F5.3,1X,I1,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,105
        read(1,'(A95)')ar__2
        read(ar__2,3)
     +  Seq_2,Vmag_1,e_Vmag_1,o_Vmag_1,V_R_1,e_V_R_1,o_V_R_1,V_I_1,
     +  e_V_I_1,o_V_I_1,U_B_1,e_U_B_1,o_U_B_1,Bmag_1,e_Bmag_1,
     +  o_Bmag_1,B_V_1,e_B_V_1,o_B_V_1,Flag_1
        if (idig(ar__2(5:10)).EQ.0) Vmag_1 =  rNULL__
        if (idig(ar__2(12:16)).EQ.0) e_Vmag_1 =  rNULL__
        if (o_Vmag_1 .EQ. 45) o_Vmag_1 =  iNULL__
        if (idig(ar__2(20:25)).EQ.0) V_R_1 =  rNULL__
        if (idig(ar__2(27:31)).EQ.0) e_V_R_1 =  rNULL__
        if (o_V_R_1 .EQ. 45) o_V_R_1 =  iNULL__
        if (idig(ar__2(35:41)).EQ.0) V_I_1 =  rNULL__
        if (idig(ar__2(43:47)).EQ.0) e_V_I_1 =  rNULL__
        if (o_V_I_1 .EQ. 45) o_V_I_1 =  iNULL__
        if (idig(ar__2(51:56)).EQ.0) U_B_1 =  rNULL__
        if (idig(ar__2(58:62)).EQ.0) e_U_B_1 =  rNULL__
        if (o_U_B_1 .EQ. 45) o_U_B_1 =  iNULL__
        if (idig(ar__2(66:71)).EQ.0) Bmag_1 =  rNULL__
        if (idig(ar__2(73:77)).EQ.0) e_Bmag_1 =  rNULL__
        if (o_Bmag_1 .EQ. 45) o_Bmag_1 =  iNULL__
        if(ar__2(81:85) .EQ. '') B_V_1 = rNULL__
        if(ar__2(87:91) .EQ. '') e_B_V_1 = rNULL__
        if(ar__2(93:93) .EQ. '') o_B_V_1 = iNULL__
c    ..............Just test output...........
        write(6,3)
     +  Seq_2,Vmag_1,e_Vmag_1,o_Vmag_1,V_R_1,e_V_R_1,o_V_R_1,V_I_1,
     +  e_V_I_1,o_V_I_1,U_B_1,e_U_B_1,o_U_B_1,Bmag_1,e_Bmag_1,
     +  o_Bmag_1,B_V_1,e_B_V_1,o_B_V_1,Flag_1
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table6.dat'	! Position in the map of stars with photometry
*                              in Alicante 5 (No. 1 to 105)

C  Format for file interpretation

    4 format(
     +  I3,1X,F7.2,1X,F7.2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,
     +  1X,A12,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,105
        read(1,'(A64)')ar__3
        read(ar__3,4)
     +  Seq_3,Xpos_1,Ypos_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,
     +  USNOB1_1,Note_1
        if (idig(ar__3(5:11)).EQ.0) Xpos_1 =  rNULL__
        if (idig(ar__3(13:19)).EQ.0) Ypos_1 =  rNULL__
        if(ar__3(21:22) .EQ. '') RAh_1 = iNULL__
        if(ar__3(24:25) .EQ. '') RAm_1 = iNULL__
        if(ar__3(27:32) .EQ. '') RAs_1 = rNULL__
        if(ar__3(35:36) .EQ. '') DEd_1 = iNULL__
        if(ar__3(38:39) .EQ. '') DEm_1 = iNULL__
        if(ar__3(41:45) .EQ. '') DEs_1 = rNULL__
        RAdeg_1 = rNULL__
        DEdeg_1 = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15.
        if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
        if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
        if(DEd_1 .GE. 0) DEdeg_1=DEd_1
        if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
        if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
        if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c    ..............Just test output...........
        write(6,4)
     +  Seq_3,Xpos_1,Ypos_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,
     +  USNOB1_1,Note_1
        write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table8.dat'	! Photometry for membership in Pismis 11

C  Format for file interpretation

    5 format(
     +  I3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,
     +  F5.3,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,43
        read(1,'(A64)')ar__4
        read(ar__4,5)
     +  Seq_4,V0mag,e_V0mag,E_B_V,e_E_B_V,AV,e_AV,v_B_V_0,e__B_V_0,
     +  SpType
        if (idig(ar__4(30:34)).EQ.0) AV =  rNULL__
        if (idig(ar__4(36:40)).EQ.0) e_AV =  rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Seq_4,V0mag,e_V0mag,E_B_V,e_E_B_V,AV,e_AV,v_B_V_0,e__B_V_0,
     +  SpType
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table9.dat'	! Photometry for membership in Alicante 5

C  Format for file interpretation

    6 format(
     +  I3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,
     +  F5.3,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,22
        read(1,'(A64)')ar__5
        read(ar__5,6)
     +  Seq_5,V0mag_1,e_V0mag_1,E_B_V_1,e_E_B_V_1,AV_1,e_AV_1,
     +  v_B_V_0_1,e__B_V_0_1,SpType_1
        if (idig(ar__5(30:34)).EQ.0) AV_1 =  rNULL__
        if (idig(ar__5(36:40)).EQ.0) e_AV_1 =  rNULL__
c    ..............Just test output...........
        write(6,6)
     +  Seq_5,V0mag_1,e_V0mag_1,E_B_V_1,e_E_B_V_1,AV_1,e_AV_1,
     +  v_B_V_0_1,e__B_V_0_1,SpType_1
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end

C Locate position of first digit in string; or return 0
      integer function idig(c)
      character*(*) c
      character*1 c1
      integer lc,i
      lc=len(c)
      idig=0
      do i=1,lc
         if(c(i:i).ne.' ') go to 1
      end do
    1 if(i.gt.lc) return
      c1=c(i:i)
      if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1
      if(i.gt.lc) return
      c1=c(i:i)
      if(c1.ge.'0'.and.c1.le.'9') idig=i
      return
      end