<div dir="ltr">Hello TRNSYS users,<div><br></div><div>It's my first time doing my own type and compiling a program (although I have matlab programming experience). I've wrote my type program following the Programmers Guide instructions to do it, familiarizing myself with different  TRNSYS functions.</div><div><br></div><div>After that, I followed the instructions to compile the program on Microsoft Visual Studio 2015 and Intel Visual Fortran 17. I did the same as the Programmers Guide, except for a few settings in the TRNDLL where the option instructed by the guide was not shown as a possibility in Microsoft Visual Studio. These are the Run-time libraries, where, for example, the guide said that I should configure "Single-threaded DLL". I didn't have that option so I configured "Multi-threaded DLL".</div><div><br></div><div><b>The Programmer's Guide instructs to rebuild de TRNDLL, and so I did succesfully. But after that, I followed the steps to add and compile my Type. Then, I get the following errors.</b></div><div><b><br></b></div><div><b><img src="cid:ii_15adc3a141f58723" alt="Imágenes integradas 1" width="412" height="224"><br></b></div><div><br></div><div><b> Errors:</b></div><div><ul><li><b>"Syntax error, found INDENTIFIER 'IGAM' when expecting one of: => = . [ % ( :   "</b></li><li><b>"This name does not have a type, and it must have an explicit one. TIMESTEP"  (for example)</b><br></li></ul></div><div><b><br></b></div><div>I've noticed that every "This name..." error is associated with a local variable of my program that is called by a TRNSYS function. These are:</div><div><br></div><div>-Timestep (from getSimulationTimestep())</div><div>-Time (from getSimualtiontime() )</div><div>-All the parameters (from getParameterValue(#))</div><div>-All the inputs (from getInputValue(#))</div><div><br></div><div>I would appreciate any help or info to solve this issue. </div><div><br></div><div>Thanks in advance. Kind regards,</div><div>Javier Vega Benavente</div><div>Mechanical Engineering Magister Student, Universidad de Concepcion</div><div><br></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>               </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>