The -vo12 option enables Clipper compatible integer divisions.
|+ | -||Specifying +, or just -vo12, directs the compiler to emit code that performs Clipper-compatible integer divisions.|
When The -vo12 option is enabled and both operands of The - (division) operator are integral values, both operands are converted to USUAL, and the return type is USUAL. The return value contained in the USUAL is:
•INT64 (UsualType() == 22), if one or both operands are greater than Int32.MaxValue and the remainder of the division is zero
•INT (UsualType() == 1), if one or both operands are INT or a smaller integral type and the remainder of the division is zero
•FLOAT (UsualType() == 3), if one or both operands are INT or a smaller integral type and the remainder of the division is not zero
The -vo12 option is enabled in projects created by the Transporter if the Compiler->Clipper Compatiblity->Integer Divisions option was enabled for the project in Visual Objects.
1.Open the project's Properties page.
2.Click the Dialect tab.
3.Change the value.