Тема: evalBuf()
Показать сообщение отдельно
Старый 05.06.2012, 08:24   #3  
S.Kuskov is offline
S.Kuskov
Участник
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
 
3,430 / 1772 (66) ++++++++
Регистрация: 28.04.2007
Адрес: Калуга
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.