GExperts Code Formatter supports the Delphi inline if expression aka “ternary operator”

In Delphi 13 Embarcadero introduced a new syntax construct for inline if expressions which they call "ternary operator". It implements what previously had to be implemented with the overloaded IfThen functions as a native compiler feature. These look like this. [delphi] Variable := if Condition then TrueValue else FalseValue; [/delphi] At the same time they … Continue reading GExperts Code Formatter supports the Delphi inline if expression aka “ternary operator”