IPB

> uses (reserved word)
Форум
Загрузка...
 
Час быка
Час быка
Карта Интернета
Internet Map
Яндекс.Метрика

Language:
Русский
English

 uses (reserved word)


Each identifier in a uses clause names a unit used by the current program or unit.

Syntax

 uses identifier, ... identifier;

Remarks

To locate a unit specified in a uses clause, the compiler first checks the resident units loaded from TPW.TPL at startup time.

If the compiler does not find the specified unit (UnitName) in the resident units, it searches for that unit on disk. The compiler searches for the unit as UNITNAME.TPW or TPU .TPW is the extension from Windows units. TPU is the extension for DOS units.

The compiler searches in the current directory and in the directories specified in Options|Directories|Unit Directories.

Windows Example

 program MyProgram;
 uses WinDos, WinCrt;   { program can now use }
                        { routines in WinDos and WinCrt }

DOS Example

 program MyProgram;
 uses Dos, Crt;         { program can now use }
                        { routines in Dos and Crt }

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

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


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