This boolean switch determines whether C like operators are allowed. By default they are not allowed. After the following statement:
{$COPERATOR ON}
|
The following operators are allowed:
Var
I : Integer; begin I:=1; I+=3; // Add 3 to I and assign the result to I; I-=2; // Substract 2 from I and assign the result to I; I*=2; // Multiply I with 2 and assign the result to I; I/=2; // Divide I with 2 and assign the result to I; end; |