<div dir="ltr">Dear TRNSYS users,<div><br></div><div>I am trying to compile a user-written component (Type 1294) I got from someone using a later TRNSYS version. However, I got this error while trying to compile in the fortran environment of TRNSYS 18, "End expression in Do loop at (1) must be integer". I tried to do some findings on the internet and found that the fortran standard now requires that a Do construct's loop control is given by (scalar) integer expressions (I am not entirely sure of this nor do I completely understand the meaning). </div><div><br></div><div>Type 1294 is based on Type 539 source code from TESS (as written in the fortran code). For code comparison, I looked up for Type 539 and observed that Type 539 exist in TESS 17 folder  on my PC and maybe replaced with another component in TESS 18 that I could not identified. </div><div><div><br></div><div>1. Which is the new component replaced with Type 539 in the latest TESS library?</div><div>2. What is the work around in TRNSYS 18 to compile a source code created in TRNSYS 17 or later version?</div><div>3. If I am able to achieve (2) and successfully generate a dll for Type 1294, do I still need to create a proforma for Type 1294? How do I give it a bitmap image in order for it to appear in the Direct Access Toolbar?</div><div><br></div><div>I am sorry for my long text. I hope someone reply me soon.</div><div><br></div><div>Thank you.</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div align="left" style="color:rgb(34,34,34)">Misbaudeen Aderemi Adesanya</div><div style="color:rgb(34,34,34)">Department of Agricultural Civil Engineering</div><div align="left" style="color:rgb(34,34,34)"><font size="2">College of Agricultural & Life Sciences<br>Kyungpook National University</font></div><div align="left" style="color:rgb(34,34,34)"><font size="2">1370 Sangyuk-dong, Puk-gu<br>Daegu 702-701, South Korea</font></div><div align="left" style="color:rgb(34,34,34)"><font size="2">대구시 북구 산격동 경북대학교 농업토목공학과</font></div><div align="left" style="color:rgb(34,34,34)">Cell phone: +82-10-5168-7503<font size="2"><br></font></div><div align="left" style="color:rgb(34,34,34)">                    +234-81-6487-7503</div></div></div></div></div>