Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

MOD( cN1, cN2  )

Purpose

Account for changes between Clipper and dBASE MOD().

Arguments

     cN1 -- number to divide

     cN2 -- divisor

Setup

None.

Example

     MOD( 5, 3 )                        && returns 2

Returns

The modulus of cN1 and cN2.

Side Effects

Crash on bad data.

Artful Calls

None.

Source File

ARTFUL.CH

Notes

Differences between the dBASE modulus function and the Clipper modulus
operator are documented in the source code for this function, and also in
the Clipper documentation.

This is implemented as a pseudo-function via #define.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson