Строка 151:
Строка 151:
<!--command compiles the code which follows only if the specified macro has been defined. The section is terminated by the #endif command.-->
<!--command compiles the code which follows only if the specified macro has been defined. The section is terminated by the #endif command.-->
−
#ifdef Macro
+
# #ifdef Macro
//Условие для дальнейшего выполнения кода.
//Условие для дальнейшего выполнения кода.
−
#endif
+
# #endif
Также существует команда #ifndef - она срабатывает если значение определённого макроса не было задано.
Также существует команда #ifndef - она срабатывает если значение определённого макроса не было задано.
<!--There is also a #ifndef command which has the opposite effect. The code that follows is only compiled if the macro is not defined.-->
<!--There is also a #ifndef command which has the opposite effect. The code that follows is only compiled if the macro is not defined.-->