IPB

> external (procedure directive)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 external (procedure directive)


External declarations allow you to interface with separately compiled procedures and functions written in assembly language.

The external code is linked with the Pascal unit or program through $L filename compiler directives.

In procedures and functions imported from DLLs, the external directive takes the place of the declaration and statement parts that would otherwise be present.

Examples

 function GetMode: Word; external;
 procedure SetMode(Mode: Word); external; $L CURSOR.OBJ

 function GlobalAlloc(Flags: Word; Bytes: Longint): THandle; far; external

'KERNEL' index 15;

 
 К началу страницы 
Тэги: external
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"