Sage Report Designer 'If' statement

The syntax of the Sage Report Designer 'If' statement is certainly not intuitive, but will be familiar to C# programmers. (How many Sage users are C# programmers??)

Since I can never remember the exact format I thought I would record it here, so, at least, I know where I can find it.

The format is:

X = Y ? True:False

 This applies to both Sage 50 and Sage 200