The locally scoped winTemp
variable is hiding the instance variable (inside readXML()
method). Thus winTemp
instance variable does not get set at all and holds the default value, i.e. 0, by the time of addition.
solved Evaluating equations during “new EXlement”