[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] internal calculation variable in .for



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 !

_______________________________________________ TRNSYS-users mailing list TRNSYS-users@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@tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

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