Unit 'Math' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#rtl]

DivMod

Return DIV and MOD of arguments.

Declaration

Source position: math.pp line 225

procedure DivMod(

  Dividend: LongInt;

  Divisor: Word;

  var Result: Word;

  var Remainder: Word

);

procedure DivMod(

  Dividend: LongInt;

  Divisor: Word;

  var Result: SmallInt;

  var Remainder: SmallInt

);

procedure DivMod(

  Dividend: DWORD;

  Divisor: DWORD;

  var Result: DWORD;

  var Remainder: DWORD

);

procedure DivMod(

  Dividend: LongInt;

  Divisor: LongInt;

  var Result: LongInt;

  var Remainder: LongInt

);

Description

DivMod returns Dividend DIV Divisor in Result, and Dividend MOD Divisor in Remainder


Documentation generated on: Oct 27 2024