Platoo FReport ComponentsGlobals

Contents - Methods


Globals - Methods

Contents - Globals

CondOperInt
C++ conditional operator (a==b ? c : d) replacement for integers

Delphi declaration
function CondOperInt(bExpression: Boolean; iTrueResult, iFalseResult: Integer): Integer;
C++ declaration
int __fastcall CondOperInt(bool bExpression, int iTrueResult, int iFalseResult);

Description
If bExpression=TRUE, then result=iTrueResult, else result=iFalseResult