|
04.06.2012, 22:03 | #1 |
Участник
|
evalBuf()
Hi,
To use evalBuf() development permission is needed. Is some other kind of way, to evalute math string expressions? An example, ((5 + 7 -2) \ 6) |
|
05.06.2012, 08:20 | #2 |
MCP
|
|
|
05.06.2012, 08:24 | #3 |
Участник
|
evalBuf, runBuf and xppCompiller have access to system functions, not only to mathematical calculations. Therefore, they require enhanced privileges
Solutions: 1. Use runAs() function to temporarily receive enhanced privileges. 2. Use external library or stored procedure 3. Write your own parser 4. RealEdit and IntEdit controls have native support of the calculation simple expression. Type this string "(5+7-2)/6" (without quotes) in the input field of these controls Последний раз редактировалось S.Kuskov; 05.06.2012 в 08:26. |
|
05.06.2012, 14:58 | #4 |
Участник
|
Thanks.
Acctualy if evalBuf() is usded in code to calculate given expression it works very well also without development privilegies. |
|