You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm not sure it's a bug report or a enhancement request.
All formulars are parsed to lower case, but it would be nice to use case sensitive variable names.
Okay, result: 30
var processor = new xFunc.Maths.Processor();
var expr = processor.Parse("a + B");
var parameters = new xFunc.Maths.Expressions.Collections.ParameterCollection();
parameters.Add("a", 10);
parameters.Add("b", 20);
var bla = expr.Execute(parameters);
Not okay, result: null
var processor = new xFunc.Maths.Processor();
var expr = processor.Parse("a + B");
var parameters = new xFunc.Maths.Expressions.Collections.ParameterCollection();
parameters.Add("a", 10);
parameters.Add("B", 20);
var bla = expr.Execute(parameters);
The text was updated successfully, but these errors were encountered:
Hi, it looks like a bug. Initially, it was implemented the following way: variable names are parsed case-sensitive, and other things are case-insensitive. Probably, it was broken by #236.
Hi,
I'm not sure it's a bug report or a enhancement request.
All formulars are parsed to lower case, but it would be nice to use case sensitive variable names.
Okay, result: 30
Not okay, result: null
The text was updated successfully, but these errors were encountered: