c# - NCalc using symbols in custom function name -


let's in expression input make functions stand out special prefix $:

var expr = "your name $proper([firstname]) $upper([lastname])"; 

where write custom functions $proper , $upper.

however, console errors "no viable alternative @ character '$'". works if rid of symbol, or use underscore.

is there way use symbol characters in function names in ncalc? doesn't work when function begins number (as in, if wanted shorthand function name double 2x).

(sort of similar ncalc evaluation error no viable alternative @ input ',')


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -