Error when expressions contains %Program Files (x86)%


Issue when migrating from FB 7 to FB 8

In FB 7 it was quite legal to have expressions containing the predefined environment variable %Program Files (x86)%.
In FB 8 this cause a parse error

[Expression Error]: Expected . or % but got " ". [Program? Files ]

and the projects fails.
If the %Program Files (x86)% is in an initial value for a global variable the project fails to open and fails to start.

It is not backward compatible. 


/Svend


Hi

I have not been able to reproduce this here. Can you send the fb7 project file to support@finalbuilder.com so we can see what is happening. If you are able to narrow it down to a small example tjat will make it easier to find the cause.

Actually never mind, I found how to reproduce, will look into it.