Write in Output Files

Some user subroutines do not pass the IOUT file descriptor and, thus, do not permit writing in a Radioss output file.

In this case, you can use the WRITE_IOUT function:
CALL WRITE_IOUT(LINE,LINE_LENGTH)
LINE
Character string with the message.
LINE_LENGTH
Integer that indicates the length of a character string.

Example

CHARACTER*256 LINE
INTEGER LEN

WRITE(LINE,'(A)') 'THIS IS MY LINE IN OUTPUT FILE'
 LEN = LEN_TRIM(LINE)     ! Fortran Intrisics to compute line length
CALL WRITE_IOUT(LINE,LEN)