<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I would like to write the values of internal 
parameters and variables in Fortran to the screen or to a file. </FONT><FONT 
face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2>I tried the following:</FONT></DIV>
<UL>
  <LI><FONT face=Arial size=2>inlcude Write statement in the Fortran source 
  code:</FONT></LI></UL>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2>WRITE(*,*) = 'Parameter P = ', P 
      (print to screen)</FONT></DIV>
  <DIV><FONT face=Arial size=2>or</FONT></DIV>
  <DIV><FONT face=Arial size=2>WRITE(7,*) = 'Parameter P = ', P 
      (print to file)</FONT></DIV></BLOCKQUOTE>
<UL>
  <LI><FONT face=Arial size=2>recompile (+ rebuild ?) the considered 
  fortran type</FONT></LI>
  <LI><FONT face=Arial size=2>run the project in debugging mode. </FONT></LI></UL>
<DIV><FONT face=Arial size=2>However, I don't see any value appearing on the 
screen, neither a file appearing in the Trnsys file. Can anyone help me further? 
Many thanks in advance!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Clara Verhelst<BR>K.U.Leuven<BR>Department of 
Mechanical Engineering<BR>Division Applied Mechanics and Energy 
Conversion<BR>Celestijnenlaan 300A - postbus 2421<BR>B-3001 Leuven (Heverlee), 
Belgium</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Tel: +32-(0)16-32 25 04<BR>Fax: +32-(0)16-32 29 
85<BR><A 
href="mailto:clara.verhelst@mech.kuleuven.be">clara.verhelst@mech.kuleuven.be</A><BR><A 
href="http://www.mech.kuleuven.be/tme">http://www.mech.kuleuven.be/tme</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>