摘要
在编译的语言环境中写出一个数学表达式字符串,不用编写代码解释程序,巧妙地应用嵌入式语言,由它动态解释并执行这个表达式进行求值。并设计解决了不同语言变量值的相互引用及文本编辑框之当前光标处输入内容的难题。
Write a code of the expression type string in compiled language environment, Need not writes the code to explain the procedure, applying the built-in language skillfully, explaining from its dynamic state to express the type string to carry on calculating the value. Combine the design to solved the different language to change the mutually quote from of the variable value and text to edit the hard nut to crack that the current cursor of the frame inputs the contents originally.
出处
《电脑知识与技术》
2006年第11期123-124,共2页
Computer Knowledge and Technology
关键词
数学表达式求值
嵌入式语言
代码动态执行
代码动态替换
Mathematics expression type calculates the value
Built-in language
The code dynamic state performance
The code dynamic state substitute