I'm having the error:
Running script, script run or compile error in file: heatingcompleate.txt1044:Cannot use parentheses when calling a Sub in line 182 More info: Cannot use parentheses when calling a Sub
the lines which are at fault are below, starting line 180:
if boiler = "On" then
hs.WriteLog "boiler","boiler going on"
hs.SetdeviceValue("H32",2)
end if
Can anyone see where I'm going wrong???
Running script, script run or compile error in file: heatingcompleate.txt1044:Cannot use parentheses when calling a Sub in line 182 More info: Cannot use parentheses when calling a Sub
the lines which are at fault are below, starting line 180:
if boiler = "On" then
hs.WriteLog "boiler","boiler going on"
hs.SetdeviceValue("H32",2)
end if
Can anyone see where I'm going wrong???
Comment