Sign in Join
FPDoc Onlineexperiment

Align function

In unit System

Return aligned version of an address.

Declaration

pascal
function Align(Addr: PtrUInt; Alignment: PtrUInt): PtrUInt

Description

Align returns Address, aligned to Alignment bytes.

Errors

None.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.