get_input_unit Subroutine

public subroutine get_input_unit(unit)

Returns the file unit number associated with the input file

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: unit

Contents

Source Code


Source Code

  subroutine get_input_unit (unit)
    implicit none
    integer, intent (out) :: unit
    unit = input_unit_no
  end subroutine get_input_unit