I have a variable DLibPath that contains the Delphi Library Seach path. This contains text like "$(BDS)\Lib" etc.
If I select this variable in an action such as "Log variable values" then I get an error like "Unable to expand variable". This could be avoided by placing an "!" in front of the variable name, but I can only select the variables from a list.
I am aware of that. My point was that there is no way of logging the variable (or including it in the “Save variable to ini” action) without first parsing it manually and escaping any characters in there. In other words you cannot load the contents of a file into a variable and then log that variable without risking the runtime error, because the file might contain $ or % characters that would lead FB to try to expand it. So in script I can do something like Action.SendLogMessage(MYVAR) with a variable containing the special characters but I cannot do the same with the “Log variable values” action.