Re: string_exec()
- Posted by dcuny Mar 05, 2015
- 2165 views
katsmeow said...
Tiggr, what is 5 + 4?
It's pretty easy to write a string_exec() routine that does this:
string_exec("5+4")
Since Euphoria can see it's own variables and values (trace does this), it should be straight forward to do this as well:
string_exec("5+4-myVariable")
And since Euphoria can see user defined functions, it's not hard to extend string_exec to be able to this as well:
string_exec("5+4-myRoutine(myVariable)")
Is this what you're asking for? If so, it's a lot simpler than the solutions that have been proposed.
- David