FORTRAN Generation
(/./ftp/cats/J/A_A/323/139)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/323/139 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 2024-Apr-19
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/323/139       K magnitude of Pleiades low-mass binaries (Bouvier+ 1997)
*================================================================================
*Pleiades low-mass binaries: do companions affect the evolution of
*protoplanetary disks?
*     Bouvier J., Rigaut F., Nadeau D.
*    <Astron. Astrophys. 323, 139 (1997)>
*    =1997A&A...323..139B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Unresolved Pleiades dwarfs

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

      integer*4     HII         ! Number in Hertzsprung catalog of stars in
*                                  the Pleiades (1947AnLei..19a...1H)
      real*4        Kmag        ! (mag) K magnitude (rms = 0.05 mag)
      character*7   Bin         ! Binarity: PB = photometric binary,
*                                            SB = spectroscopic binary
      character*3   r_Bin       ! References (1)
*Note (1): 1 = Stauffer (1984ApJ...280..189S)
*          2 = Mermilliod et al. (1992A&A...265..513M)
*          3 = Stauffer & Hartmann (1987ApJ...318..337S)

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

C  Loading file 'table3.dat'	! Unresolved Pleiades dwarfs

C  Format for file interpretation

    1 format(4X,I4,1X,F5.2,1X,A7,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,113
        read(1,'(A26)')ar__
        read(ar__,1)HII,Kmag,Bin,r_Bin
c    ..............Just test output...........
        write(6,1)HII,Kmag,Bin,r_Bin
c    .......End.of.Just test output...........
      end do
      close(1)

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