|
◆ cstr_to_fchar()
character(len=size(cstr)-1) function, public char_utilities::cstr_to_fchar |
( |
integer(kind=int_b), dimension(:), intent(in) |
cstr | ) |
|
Converts a null-terminated C-style string into a Fortran CHARACTER variable of the same length, the null termination character is removed.
- Parametri
-
[in] | cstr | variable to be converted |
Definizione alla linea 795 del file char_utilities.F90.
797 FUNCTION line_split_new(line, ncols) RESULT(this) 798 CHARACTER(len=*), INTENT(in) :: line 799 INTEGER, INTENT(in), OPTIONAL :: ncols 801 TYPE(line_split) :: this 803 INTEGER :: nw, nwords, nlines, columns_in_line, words_in_line, ncols_next_word 805 IF ( PRESENT(ncols)) THEN 808 this%ncols = default_columns()
|