Where do I define symbols tested with {$IFDEF}?

前端 未结 5 1274
半阙折子戏
半阙折子戏 2021-02-20 00:52

When I use Delphi directives in code, like:

{$IFDEF something}
.
.
.
{$ENDIF}

Where do I assign the word \'something\' in the project? I tried

5条回答
  •  心在旅途
    2021-02-20 01:34

    It's in the Conditional Defines slot under Project | Options, which looks like this on D2010:

    Delphi Project Options dialog

提交回复
热议问题