Is there an "eval()" routine in DWScript?
Issue #148
wontfix
Hi. Is there a script instruction that allows, within a script, to execute generic code in the form of a string? To be clear, like the instruction "eval()" in Javascript. Bye.
Comments (2)
-
repo owner -
repo owner - changed status to wontfix
- Log in to comment
The facility for evaluation is present in dwsEvaluate unit.
It is not exposed to the script, however you could expose it in a custom TdwsUnit for instance, though eval() has various security and execution complexity implications (which is why it's not exposed by default).