----- Original Message -----
Sent: Wednesday, January 21, 2004 12:32
PM
Subject: Re: debug
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:
--
/ \____ Werner Keilholz, Software
Development Group Leader
\____/ CSTB Sophia
Antipolis, SAIL
/ \____ s-mail: BP 209, 06904
SOPHIA ANTIPOLIS, F R A N C E
\____/
phone: +33 (0)4 93 95 67 00 -- fax: +33 (0)4 93 95 67 33
/ \____ Mailto:werner@xxxxxxx -- ASPAM=antispamwpk42
\____/ http://evl.cstb.fr/english/team/WK/werner.htm
francophones: 9 Mars 2004 - http://software.cstb.fr