How to correctly code multiple nested IF / THEN
Posted: Wed Nov 30, 2016 11:57 pm
Hey Group,
I am trying to implement a nested IF/THEN series of tests
But I am getting an "End If without IF" error
What is the correct way to implement this multi step IF / THEN series??
thanks
dwight
I am trying to implement a nested IF/THEN series of tests
Code: Select all
if RelayON = -1 then
if T2Hon = hh then
if T2Mon = mm then
RelayON = T2D
goto [RlyOn]
end if
end if
end if
But I am getting an "End If without IF" error
What is the correct way to implement this multi step IF / THEN series??
thanks
dwight