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

Re: [TRNSYS-users] getStorageVars and setStorageVars support only int* in TRNSYS.h?



Dear Fei LONG,
  I think that may be an error in the trnsys.h file. setStorageVars() takes three arguments, a double precision array of values, an integer indicating the number of values to set, and a the 15 spot integer INFO array.
Regards,
 David


On 11/19/2010 05:29, 龙飞 wrote:
Hi, all,
 
I tried to use setStorageVars function in my new Type dll in C++. But I found the definition of setStorageVars accepts int* instead of double* as the input parameter. But I would like to store double type variables. What are your suggestions?
Thanks.
 
Fei LONG



网易163/126邮箱百分百兼容iphone ipad邮件收发
_______________________________________________ TRNSYS-users mailing list TRNSYS-users@cae.wisc.edu https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com