expression-evaluator-c-sharp icon indicating copy to clipboard operation
expression-evaluator-c-sharp copied to clipboard

How to add custom constant

Open prakashboston opened this issue 1 year ago • 2 comments

Really very nice expression evaluation engine Thanks @matheval Integrate the logic for adding custom constant values during the evaluation process. Example: I want to add custom constant addConstant("[%CurrentDateTime%]",DateTime.Now); Help me to add this constant

prakashboston avatar Dec 16 '23 09:12 prakashboston

Can't you just pass a variable?

0x6DD8 avatar Aug 08 '24 08:08 0x6DD8

Thanks for your reference

prakashboston avatar Aug 08 '24 09:08 prakashboston