//--------------------------------------------------------------------------- bool __fastcall IsSameBool(bool AValue1, bool AValue2) { return (AValue1 ? 1 : 0) == (AValue2 ? 1 : 0); } //---------------------------------------------------------------------------