Re: string_exec()

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu