RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.opModulus Constant

opModulus defines a modulus operation.

Pascal
opModulus = 5;
C++
opModulus = 5;

opModulus is one of the operation types that TVarOp may be set to when performing binary operations such as BinaryOp.  

opModulus represents the remainder of the division of the left operand by the right operand. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!