In VBA I can do the following:
A = B + IIF(C>0, C, 0)
so that if C>0 I get A=B+C and C<=0 I get A=B
A=B+C
A=B
Using:
eval('input;', 'input = 1;');
is very helpful where 'input' might not exist in the first place.