2 if getenv("SALOMEPATH"):
5 myCalc = salome.lcc.FindOrLoadComponent("FactoryServer", "CALCULATOR")
9 myCalc=CALCULATORSWIG.CALCULATOR()
13 print "Test Program of CALCULATOR component"
15 f1 = myCalc.createConstField(2.0);
16 f2 = myCalc.createConstField(3.0);
17 f = myCalc.add(f1,f2);