libsim Versione 7.2.4

◆ csv_record_addfield_int()

subroutine csv_record_addfield_int ( type(csv_record), intent(inout) this,
integer, intent(in) field,
character(len=*), intent(in), optional form,
logical, intent(in), optional force_quote )

Add a field from an INTEGER variable to the csv record this.

The field will be quoted if necessary.

Parametri
[in,out]thisobject where to add field
[in]fieldfield to be added
[in]formoptional format
[in]force_quoteif provided and .TRUE. , the field will be quoted even if not necessary

Definizione alla linea 650 del file file_utilities.F90.

651 firstquote = .false.
652 IF (this%record(i) == this%cquote) THEN ! ": sequenza ""
653 CALL add_char(this%cquote, .false., field)
654 cycle
655 ELSE ! carattere normale: e` terminata " "
656 inquote = .false.
657 IF (this%record(i) == this%csep) THEN ! , fine campo
658 EXIT
659 ELSE ! carattere normale, elimina "trailing blanks"
660 CALL add_char(this%record(i), .true., field)
661 cycle

Generated with Doxygen.