Delphi predefined environment variables

前端 未结 3 1217
清酒与你
清酒与你 2021-02-20 05:28

Can anyone tell me where to find a list of the \"pseudo\" environment variables available in RAD Studio? The ones like $(Platform), $(Config), and so on. Specifically, I want on

3条回答
  •  再見小時候
    2021-02-20 05:43

    There is not a RTLVersion variable but you can create easily using the option Enviroment variables

    enter image description here

    or the windows registry.

    For Delphi XE Check this entry

    HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0\Environment Variables 
    

    Then you can create a new variable called RTLVersion

    enter image description here

    And then from the Delphi IDE you can use like so

    enter image description here

提交回复
热议问题