PROGRESS  master
prg_openfiles_mod Module Reference

Module to handle input output files for the PROGRESS lib. More...

Functions/Subroutines

integer function, public get_file_unit (io_max)
 Returns a unit number that is not in use. More...
 
subroutine, public prg_open_file (io, name)
 Opens a file to write. More...
 
subroutine, public prg_open_file_to_read (io, name)
 Opens a file to read. More...
 

Detailed Description

Module to handle input output files for the PROGRESS lib.

Function/Subroutine Documentation

◆ get_file_unit()

integer function, public prg_openfiles_mod::get_file_unit ( integer  io_max)

Returns a unit number that is not in use.

Parameters
io_maxMaximum units to search.
get_file_unitUnit return to use for the file.

Definition at line 18 of file prg_openfiles_mod.F90.

◆ prg_open_file()

subroutine, public prg_openfiles_mod::prg_open_file ( integer  io,
character(len=*)  name 
)

Opens a file to write.

Parameters
ioUnit for the file.
nameName of the file.

Definition at line 37 of file prg_openfiles_mod.F90.

◆ prg_open_file_to_read()

subroutine, public prg_openfiles_mod::prg_open_file_to_read ( integer  io,
character(len=*)  name 
)

Opens a file to read.

Parameters
ioUnit for the file.
nameName of the file.

Definition at line 53 of file prg_openfiles_mod.F90.