ModuleManager icon indicating copy to clipboard operation
ModuleManager copied to clipboard

[Proposal] Boolean matching

Open blowfishpro opened this issue 8 years ago • 1 comments

C# boolean parsing is case-insensitive, so boolean values in configs can often end up with different cases. This is difficult to account for in patches. It would be convenient to have a way to check for boolean equality, e.g. something like NODE:HAS[#someFlag[!true]]. Not sure if ! is the best character to use here since (1) it's used elsewhere in MM and (2) In programming it usually inverts whatever proceeds it, so open to other suggestions.

Alternately, there could be some way of doing case-insensitive comparison which would also solve this issue.

blowfishpro avatar Feb 20 '18 02:02 blowfishpro

"?" is still free I think ? I guess it would work for a boolean test

sarbian avatar Feb 20 '18 20:02 sarbian