libsim  Versione6.3.0

◆ open_package_file()

integer function file_utilities::open_package_file ( character(len=*), intent(in)  filename,
integer, intent(in)  filetype 
)

Opens a specific file for the libsim package.

It searches in different directories using get_package_filepath to locate the file. It returns the unit number associated to the file found and successfully opened, or -1 if the file does not exist or an error occurred while opening it.

Parametri
[in]filenamename of the file to be opened, it must be a relative path name
[in]filetypetype of file, the constants filetype_data or filetype_config have to be used

Definizione alla linea 473 del file file_utilities.F90.

473 
474 END SUBROUTINE csv_record_addfield_int
475 
476 
480 SUBROUTINE csv_record_addfield_int_miss(this, field, force_quote)
481 TYPE(csv_record),INTENT(INOUT) :: this
482 INTEGER,INTENT(IN) :: field
483 LOGICAL, INTENT(in), OPTIONAL :: force_quote
484 
485 CALL csv_record_addfield(this, t2c(field, ''), force_quote=force_quote)
486 
487 END SUBROUTINE csv_record_addfield_int_miss
488 
489 
492 SUBROUTINE csv_record_addfield_real(this, field, form, force_quote)
493 TYPE(csv_record),INTENT(INOUT) :: this
494 REAL,INTENT(IN) :: field
495 CHARACTER(len=*),INTENT(in),OPTIONAL :: form
Functions that return a trimmed CHARACTER representation of the input variable.

Generated with Doxygen.