Environment Variables
Go Up to Tour of the IDE
Tools > Options > IDE > Environment Variables
Use this page to view system environment variables and to create, edit, and delete user overrides.
Item | Description | ||||||
---|---|---|---|---|---|---|---|
Lists all environment variables and their values defined at a system level. You cannot delete an existing system variable, but you can override it. BDS is one of the variables displayed in this dialog box. The BDS environment variable represents the installed location of RAD Studio. For example, to use the BDS environment variable to specify the source directory, enter: $(BDS)\source This expression could expand for example to | |||||||
Lists all defined user overrides and their values. A user override takes precedence over an existing system variable until you delete the user override. | |||||||
Add System Override |
Displays the Override System Variable dialog box, allowing you to modify an existing system variable to create a new user override. This button is dimmed until you select a variable in the System variables list.
|
- To specify operating-system environment variables in an edit box, use the following syntax:
$(VariableName)
. - The $(Config) variable resolves to the specific configuration that is set in the Target field on the specific Project Options page where $(Config) is specified, for example Delphi Compiler. If you specify $(Config) in a path and then build your project with a Debug configuration as the Target, $(Config) includes only the Debug directory, and the build can miss any elements that exist solely in the Release directory.