[TRNSYS-users] internal calculation variable in .for

David Bradley bradley at tess-inc.com
Thu Sep 3 13:02:48 PDT 2009


Claire,
 yes, you do have to declare them since there is an "IMPLICIT NONE" line 
in the code. The order of the declarations is not important but all of 
the declarations must occur before any of the executable code can occur.
Kind regards,
 david


claire kazgandjian wrote:
> Hello users,
> I am creating a new component for the first time.
> In my calculations there are some internal variables which are not 
> input/output or parameter.
> In the .for, do I have to declare these variables before or can I put 
> it directly in the calculation code?
> If I have to declare it before, is it in "USER DECLARATIONS" after 
> "PARAMETERS" ?
> Thank you!
>
> Claire
>
> ------------------------------------------------------------------------
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows 
> Live ? Lancez-vous ! 
> <http://www.microsoft.com/windows/windowslive/default.aspx>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
>   

-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: bradley at tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

***********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090903/ad8612ac/attachment-0001.htm>


More information about the TRNSYS-users mailing list