Yes, that's correct. epmacro uses the exact same code taken from DOE-2, so if you're having trouble finding documentation on the syntax rules, try looking in the 2.1E Supplement of the DOE-2 Manual. From what I remember, arguments are set using ##set1 with no [], but once set they're referenced with the [], because otherwise how would the program know they're arguments? Also, any operation (but only a single one) has to start with a #[ ... and be closed by a ] . Multiple operations have to be nested, e.g., #[ #[ parm1[] * parm2[] ] * parm3[] ] My favorite operator in macros is the ##elseif, which allows one to have multiple conditions within a single if operation without a great deal of looping. I only wish that other scripts that I use, like "awk", also have the elseif operator. I've found it takes patience to debug macros, but once debugged they work great. I use them literally all of the time in running either EP or DOE-2, but that's probably I'm still old-school in doing everything by batch with the raw IDF or BDL. Joe Huang. Sent from my iPad On Mar 7, 2016, at 6:44 AM, pranav.godbole@xxxxxxxxx [EnergyPlus_Support] <EnergyPlus_Support@xxxxxxxxxxxxxxx> wrote:
__._,_.___ Posted by: Joe Huang <yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx> Primary EnergyPlus support is found at: http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx The primary EnergyPlus web site is found at: http://www.energyplus.gov The group web site is: http://groups.yahoo.com/group/EnergyPlus_Support/ Attachments are currently allowed but be mindful that not everyone has a high speed connection. Limit attachments to small files. EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button. __,_._,___ |