TVariable Calculable Operators

Calculates mathematical value and assigns a new value to the TVariable.

```TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator+=(
);
TVariable& operator-=(
const TVariable &subtractionValue
);
TVariable& operator*=(
const TVariable &multiplyValue
);
TVariable& operator/=(
const TVariable &divideValue
);
TVariable& operator++(void);
TVariable operator++(
int value
);
TVariable& operator--(void);
TVariable operator--(
int value
);
TVariable operator+(
);
TVariable operator+(
);
TVariable operator+(
);
TVariable operator+(
);
TVariable operator+(
);
TVariable operator+(
);
TVariable operator-(
const TVariable &subtractionValue
);
TVariable operator*(
const TVariable &multiplyValue
);
TVariable operator/(
const TVariable &divideValue
);```

Parameters

 additionValue TVariable will add or append inputted parameter value. subtractionValue TVariable will subtract inputted parameter value, this will create an numeric value if not already. multiplyValue TVariable will multiply inputted parameter value, this will create an numeric value if not already. divideValue TVariable will divide inputted parameter value, this will create an numeric value if not already.

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(TEXT("Initial Value"]);
var += TEXT("This is the appended string");
return NO_ERROR;
}```

Also See

Boolean Operators, Bitwise Operators
Listen All