INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: EpF on May 23, 2005, 09:41:35 am

Title: MC11: Lists in Expressions
Post by: EpF on May 23, 2005, 09:41:35 am
I've been wondering how to get an expression to test a field for a variety of values.  Is it possible to use a semicolon delimited list of values, eg:

IsEqual([keywords], Alt;Version;Live)

Or do you have to write the expression for each value? 

I found this from a thread by Matt, but it only deals with the output of the expression:
Here are a couple simple examples that show how you can use this to mix different data types into one column:

Artist: [Artist];Album: [Album];Genre: [Genre]

All [Media Type];[Media Type]: [File Type]
Title: Re: MC11: Lists in Expressions
Post by: Matt on May 23, 2005, 10:37:01 am
Currently you need to use nested if statements.

We plan to enhance this with some new functions in the next version.
Title: Re: MC11: Lists in Expressions
Post by: EpF on May 23, 2005, 10:44:14 am
I suspected that.  Thanks for the quick reply.

We plan to enhance this with some new functions in the next version.
That's great!  I really love the expression evaluator..