'' examples/manual/control/iif.bas
''
'' Example extracted from the FreeBASIC Manual
'' from topic 'IIF'
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgIif
'' --------

Dim As Integer a, b, x, y, z
a = (x + y + IIf(b > 0, 4, 7)) \ z
