Hi, I'm using NCalc in my software and wanted to move to the version that supports you.
But for some resone, in my software (using .NET framework 4.8) I seem to have issue with an expression:
DP(5186)*if(DP(90)>0,CFP(90),0.49)/1000.
Where DP and CFP are working costume functions.
the call stuck when arriving to it ends with some of Ncalc and parlot calls:
in the logicalExpressionFactory (NCalc):
in parlot Fluent Parser I have:
and then in the parlot compiler parser I get:
When deleting the .Compile() from the LogicalExpressionParser of Ncalc from the line that is beeing called if the .Net version is less than 6, it seems to not throw this error anymore, and I get this parsed expression, that looks allright.
NCalc logical expression factory:
But, after this expression I might calculate few more, and then it seems like my calculation is getting into infinite loop somewhere that might be because of the deletion of the .compile with different expression?
Hi, I'm using NCalc in my software and wanted to move to the version that supports you. But for some resone, in my software (using .NET framework 4.8) I seem to have issue with an expression: DP(5186)*if(DP(90)>0,CFP(90),0.49)/1000. Where DP and CFP are working costume functions.
the call stuck when arriving to it ends with some of Ncalc and parlot calls:
in the logicalExpressionFactory (NCalc):
in parlot Fluent Parser I have:
and then in the parlot compiler parser I get:
When deleting the .Compile() from the LogicalExpressionParser of Ncalc from the line that is beeing called if the .Net version is less than 6, it seems to not throw this error anymore, and I get this parsed expression, that looks allright.
NCalc logical expression factory:
But, after this expression I might calculate few more, and then it seems like my calculation is getting into infinite loop somewhere that might be because of the deletion of the .compile with different expression?