What's wrong with the following code? The TS editor balks at the bold portions of the if statements. Obviously I would not need both, but what's causing the balks?
Input SetQty = 10000;
Def TrdQty = GetQuantity();
If TrdQty == 0 then TrdQty = SetQty else TrdQty = !isnan;
If GetQuantity() == 0 then TrdQty = SetQty else TrdQty = GetQuantity();
Input SetQty = 10000;
Def TrdQty = GetQuantity();
If TrdQty == 0 then TrdQty = SetQty else TrdQty = !isnan;
If GetQuantity() == 0 then TrdQty = SetQty else TrdQty = GetQuantity();