RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.opModulus Constant

opModulus defines a modulus operation.

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

System

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. 

 

BinaryOp 

BinaryOp 

TVarOp

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!