IfThen function
Return one of two values, depending on a boolean condition.
Declaration
function IfThen(val: Boolean; const iftrue: Integer;
const iffalse: Integer=0): Integer; overloadDescription
ifthen returns
iftrue if
val is
True, and
iffalse if
val is
False.
This function can be used in expressions.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
