LongDiv function
Overflow safe divide.
Declaration
function LongDiv(X: LongInt; Y: Integer): IntegerDescription
LongDiv divides
X by
Y. The result is of
type
Integer instead of type
Longint, as you would get
normally.Errors
If Y is zero, a run-time error will be generated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
