“if” expressions are now supported in DWScript
SVN, those were introduced to Pascal by Oxygene a couple years back, and are Pascal’s verbose version of the C ternary operator (?:). For instance var s := if (a0) then Sin(1/a) else 1; being equivalent to var s : Float; if ...
More...