external (procedure directive)
External declarations allow you to interface with separately compiledand written in assembly language.
The external code is linked with the Pascal unit or program throughcompiler directives.
In procedures and functions imported from, the external directive takes the place of the declaration and statement parts that would otherwise be present.
function GetMode: Word; external;
procedure SetMode(Mode: Word); external; $L CURSOR.OBJ
function GlobalAlloc(Flags: Word; Bytes: Longint): THandle; far; external
'KERNEL' index 15;