IPB

> Conditional Compilation: Directives and Symbols
Чат
Форум
Загрузка...
 

Language:
Русский
English

  Conditional Compilation: Directives and Symbols
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Conditional compilation is based on the evaluation of conditional symbols.

   Directive  Meaning
   DEFINE     Defines a conditional symbol
   ELSE       Compiles or ignores a portion of source text
   ENDIF      Ends the conditional compilation
   IFDEF      Compiles source text if Name is defined
   IFNDEF     Compiles source text if Name is NOT defined
   IFOPT      Compiles source text if a compiler switch is in a specified
              state (+ or -)
   UNDEF      Undefines a previously defined conditional symbol

   Symbol     Meaning
   CPU86      CPU belongs to 80x86 processor family
   CPU87      Defined only if an 80x87 numeric coprocessor is present at
              compile time
   DPMI       Indicates operating environment is DOS protected mode
   MSDOS      Indicates operating system is real-mode MS-DOS or PC-DOS
   VER70      Turbo Pascal version number
   WINDOWS    Indicates operating enviroment is MS-Windows

See Also

 
 К началу страницы 
 

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



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