[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'math' (#rtl)

DivMod

Return DIV and MOD of arguments

Declaration

Source position: math.pp line 191

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: Mar 17 2017