Hi Russ,

When using Inline IF statements, you don't need the ENDIF.

It's either

if S4=0 then t =500

-or-

if S4=0 then
    t =500
endif

<br>