Reminder to self: adopt the below code to do $(…) expansion like the Delphi IDE does
Posted by jpluimers on 2018/07/26
The below code expands %…% for environment variables and $(…) for CSIDL values.
Someday I will find time to convert it to something that does expansion like the $(…) one from the Delphi IDE.
- ConfigExpanderUnit
- CSIDLsUnit
References:
- [WayBack] path – How are Delphi ‘environment variables’ such as $(BDS) evaluated? – Stack Overflow
- [WayBack] Just a short question:Does anyone know how to expand IDE environment variables (e.g. $(BDSINCLUDE)) from within an Open Tools API wizard? – Fl Ko (Zausel Muh) – Google+
–jeroen
https://gist.github.com/jpluimers/a2d620f6d3fe6aabb36534df36a01d1e






Leave a Comment