[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Return DIV and MOD of arguments
Source position: math.pp line 209
procedure DivMod( |
Dividend: LongInt; |
Divisor: Word; |
var Result: Word; |
var Remainder: Word |
); |
Dividend: LongInt; |
Divisor: Word; |
var Result: SmallInt; |
var Remainder: SmallInt |
); |
Dividend: DWord; |
Divisor: DWord; |
var Result: DWord; |
var Remainder: DWord |
); |
Dividend: LongInt; |
Divisor: LongInt; |
var Result: LongInt; |
var Remainder: LongInt |
); |
DivMod returns Dividend DIV Divisor in Result, and Dividend MOD Divisor in Remainder