Hi,
I occasionally suffer from the following error message:-
'Error 410, A function called from within an I/O statement has itself performed I/O'
I'm struggling to get to grips with the reasons for this to occur, as it doesn't appear to be an easily repeatable error.
The most recent time that this error occurred was during an OpenGL graphics repaint , which was initiated in the callback function for the OpenGL graphics using clearwin_string@('CALL_BACK_REASON') the reason being DIRTY The program was populating a character string for subsequent plotting to the screen. The line of code where the error occurred was:-
WRITE(STRING,FORM)VAL
where VAL is a double precision real number, string is a 23 character string variable, and FORM is 9 character string variable containing the text '(F23.1) '
Does an internal write statement really count as being I/O ?