It is currently April 20th, 2024, 3:36 pm
IfMatch always returns false in Calc measure?
-
- Posts: 14
- Joined: January 20th, 2020, 3:55 pm
Re: IfMatch always returns false in Calc measure?
I don't know if it really qualifies as a "bug" per se, given that it apparently took this long for anyone to come up with a chain of decisions that led to uncovering this behaviour, and the solution of filtering the results through an additional measure (or using the clunkier-in-this-instance construction of an IfCondition) is only a "problem" for people who share my fetish for minimal code. The optimal solution might be to edit not the software, but the manual page describing IfMatch.
-
- Developer
- Posts: 2679
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: IfMatch always returns false in Calc measure?
https://forum.rainmeter.net/viewtopic.php?f=118&t=34774&p=173199#p173199Yincognito wrote: ↑March 17th, 2020, 12:40 pm I'm not sure if what you said is connected to my experiences here (about measures that have a string value of "" behaving differently than other measures in regard to IfMatch and Substitute), but just throwing this here as well, just for your awareness.
-Brian