Blog信息 |
blog名称:注册会计师(注会)练习软件 日志总数:398 评论数量:116 留言数量:27 访问次数:3266471 建立时间:2005年6月6日 |

| |
[borland eco 技术]expressionhandle表达式中使用非ocl变量 软件技术
吕向阳 发表于 2007/10/1 10:08:47 |
expressionhandle的expression中要使用变量,一般要用到variablehandle变量,很麻烦.如一般的字符串变量可使用以下方法解决
c#eh.Expression = System.String.Format("Person.allInstances->orderBy({0})', button1.Text);
Delphi: eh.Expression := System.String.Format('Person.allInstances->orderBy({0}), ´[button1.Text]);
其中button1.text可以是你指定的字符串变量 |
|
|