Time:10-10
CodePudding user response:
Quote: refer to the eighth floor wise men know already should good karma response: May not be clear, actually written in lua, other don't meet my needs, you this match, accidentally CodePudding user response: Microsoft. JScript. Vsa. VsaEngine ve=Microsoft. JScript. The Vsa. VsaEngine. CreateEngine (); Return Microsoft. JScript. Eval. JScriptEvaluate (sExpression, ve); CodePudding user response: convert directly convert line not line? CodePudding user response: What language? Need to know what language to change CodePudding user response: reference Liu Cai ghost reply: 3/f I used to be using to perform the expression of the datatable,, System. Data. DataTable dt=new System. Data. The DataTable (); Var Result=dt.Com pute (" your string ", ""); Such an error, how to solve CodePudding user response: The lua scripting language CodePudding user response: The reference 16 floor dignity Di Di response: what language? Need to know what language to change lua language CodePudding user response: '5 + 3 * 2' - '0' CodePudding user response: The reference 20 floor qq_43572911 response: '5 + 3 * 2' - '0' don't understand! Only on the single quotation marks? CodePudding user response: Whether characters digital, digital transformation, and then do operation CodePudding user response: Can be directly in front of add (int) casting type CodePudding user response: Can be performed with the help of the datatable expression,, System. Data. DataTable dt=new System. Data. The DataTable (); Var Result=dt.Com pute (" your string ", ""); CodePudding user response: Expression Simple, if judge bai, I has been in the BBS reply CodePudding user response: The Lua language you Posting to c #, affirmation is trouble. The lua language is very simple STR="5 + 3 * 2" F=load (" return ".. STR); N=f (); Print (n) CodePudding user response: iicup reference 27 reply: Lua you Posting to the c # language, must be a trouble. The lua language is very simple STR="5 + 3 * 2" F=load (" return ".. STR); N=f (); Print (n) give n assignment error! CodePudding user response: Define parameter transformation, then speak STR is transformed into an int CodePudding user response: references that struck the 30th floor chalkbox response: define parameter transformation, then speak STR into int lua scripting language not int
May not be clear, actually written in lua, other don't meet my needs, you this match,
Microsoft. JScript. Vsa. VsaEngine ve=Microsoft. JScript. The Vsa. VsaEngine. CreateEngine (); Return Microsoft. JScript. Eval. JScriptEvaluate (sExpression, ve);
I used to be using to perform the expression of the datatable,, System. Data. DataTable dt=new System. Data. The DataTable (); Var Result=dt.Com pute (" your string ", "");
what language? Need to know what language to change
'5 + 3 * 2' - '0'
Lua you Posting to the c # language, must be a trouble. The lua language is very simple STR="5 + 3 * 2" F=load (" return ".. STR); N=f (); Print (n)
define parameter transformation, then speak STR into int
Page link:https//www.codepudding.com/net/60857.html