Hello all,<br>I am trying to generate list file warning messages in my C++-compiled Type. According to the comments in the exported type C++ template, you use the "MESSAGES" function, which is not recognized by C++ (and I don't see it in Trnsys.h):<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">// REPORT ANY PROBLEMS THAT HAVE BEEN FOUND USING CALLS LIKE THIS:<br>MESSAGES(-1,'put your message here','MESSAGE',IUNIT,ITYPE)<br>
</blockquote><br>In the Ch 08 Programmer's Guide, the syntax is:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">call Messages(errorCode,message,severity,unitNo,typeNo)</blockquote>
<div>...but that is for Fortran. Does anyone know how to do it in C++?<br><br>Thanks,<br><br>Eric<br></div>