Every script language needs some sort of conditional branching.
IIF returns one of two values depending on the value of a logical
expression.
function IIF(Condition: Boolean; X, Y: Variant): Variant
For example: IIF(10>4, "one", "two") will return the "one"
IsNULL returns the True if parameter is not defined or empty
function IsNull(X): Boolean