Hi guys. I'm trying to use the If .. Then action and the "Is A Member of Comma-Separated List" operation. I am testing for a sub-string in a variable.
The variable is
PLATFORMS=Win32,Xbox 360
I have two actions. One works and the other does not.
If [Xbox 360] is in CSV [%PLATFORMS%]
does not work, but
If [Win32] is in CSV [%PLATFORMS%]
does work. The log output is
Expression:
If ( Xbox 360 is in CSV %PLATFORMS% )
Expanded Values:
"Xbox 360" is not a member of "Win32,Xbox 360"
Expression evaluated False
Expression:
If ( Win32 is in CSV %PLATFORMS% )
Expanded Values:
"Win32" is a member of "Win32,Xbox 360"
Expression evaluated True
Also, the Help button does nothing in this dialog. Going through the Help menu, the page for the If .. Then action contains no mention of specifics for the CSV operators.
FinalBuilder version 5.5.0.707
Hi Steve
This looks like a bug, my guess is the expression is not evaluating because of the space in the value. I’ll look into this.
Hi Steve
Here's a test build with the fix for the If .. Then action :
https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_725.exe
One hour forty-three minutes from first post to a successful fix.
Expression:
If ( Xbox 360 is in CSV %PLATFORMS% )
Expanded Values:
"Xbox 360" is a member of "Win32,Xbox 360"
Expression evaluated True
I wish all vendors were that responsive. It does help that we are in the same country.