INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Expression editing changes  (Read 1550 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Expression editing changes
« on: May 23, 2012, 01:33:00 pm »

The expression :

  math(1 | 0)

in Customize Display gets botched.  Everything after the | is thrown away.

Pipe is used as the delimiter for the keyword window settings.

It's bad to use delimiters like that (it's old code), but for now this is just a known limitation.

Someday we'll replace the dialog with one that uses the newer expression editing controls.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Expression editing changes
« Reply #1 on: February 05, 2015, 10:53:19 am »

This is really old, but I think the issue with pipe is fixed in the latest builds since they use the regular expression editor.

Fixed!
Logged
Matt Ashland, JRiver Media Center

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8973
Re: Expression editing changes
« Reply #2 on: February 05, 2015, 01:11:48 pm »

Forgive my ignorance, but in mathematics, what does a pipe do?

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Expression editing changes
« Reply #3 on: February 05, 2015, 01:22:13 pm »

Forgive my ignorance, but in mathematics, what does a pipe do?

It's an OR operator in C++.  1 | 2 = 3.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up