TVariable Boolean Operators

Calculates boolean assigns a new value to the TVariable.

bool operator==(
   bool rightHandValue
);
bool operator==(
   int rightHandValue
);
bool operator==(
   unsigned int rightHandValue
);
bool operator==(
   __int64 rightHandValue
);
bool operator==(
   double rightHandValue
);
bool operator==(
   const char* rightHandValue
);
bool operator==(
   const BYTE* rightHandValue
);
bool operator==(
   const char16_t* rightHandValue
);
bool operator==(
   const TVariable& rightHandValue
);
bool operator!=(
   bool rightHandValue
);
bool operator!=(
   int rightHandValue
);
bool operator!=(
   unsigned int rightHandValue
);
bool operator!=(
   __int64 rightHandValue
);
bool operator!=(
   const char* rightHandValue
);
bool operator!=(
   const BYTE* rightHandValue
);
bool operator!=(
   const char16_t* rightHandValue
);
bool operator!=(
   const TVariable& rightHandValue
);
bool operator<(
   const TVariable& rightHandValue
);
bool operator<=(
   const TVariable& rightHandValue
);
bool operator>(
   const TVariable& rightHandValue
);
bool operator>=(
   const TVariable& rightHandValue
);
bool operator&&(
   const TVariable& rightHandValue
);
bool operator||(
   const TVariable& rightHandValue
);

Parameters

rightHandValuetake the current value and perform a boolen expression.

Return Values

These methods will return the modified TVariable, or a temporary const TVariable created on the stack.

Remarks

Example Use
  • C++
#include "TScript.h"

int wmain(int argc, wchar_t* argv[])
{
   TVariable var(0xccc);
   if(var == 0xccc) 
      MessageBox(TEXT("TVariable is equal to 0xccc"]);
   return NO_ERROR;
}

Also See

Bitwise Operators, Calculable Operators
Listen All
Comments (0)
Characters left: 2500
 
Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript