Pascal Scripting: ExpandConstantEx
Prototype:
function ExpandConstantEx(const S: String; const CustomConst, CustomValue: String): String;
Description:
Changes all constants in S to their values. Additionally, any constant equal to CustomConst will be changed to CustomValue.
An exception will be raised if there was an error expanding the constants.