Hi Laurent,
"write(*,*)" writes to the 'console' (that's what the * means). In a windows application like TRNSYS, however, there is no console : the line is correct FORTRAN, but at runtime the computer doesn't know what to do with x and y. If you use the CVF66A project, the best thing to do is to switch to debug mode (Build/Set active configuration) and use the TRACE command to write things to the DevStudio's output window (a sort of console for debugging). You can also use breakpoints and look at the variables directly. If you insist on using the write command, you have to open a file, assign it a LUN and and then write to that file rather than to *. Hope this helps, Werner Laurent Serres wrote: --
francophones: 9
Mars 2004 - http://software.cstb.fr
|