FW: Code Execution Problem
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> May 11, 2001
- 397 views
This didn't seem to make it either... -----Original Message----- From: Matthew Lewis > -----Original Message----- > From: sephiroth _ [mailto:euman2376 at yahoo.com] > huh? if what you're thinking is to get the address of a string > containing euphoria code and to execute it...BAHAHAHA!!!!!!! oh > man...what a dumb idea. please tell me that's not what you're > thinking. That seems a little uncalled for. Besides, that's not really outside the realm of possibility with the translator. In any case, you could work up a scheme to do this in pure Euphoria. You could create your own heap within a sequence/a-list and use routine_id's. Then you parse the command and execute it. It's more work, and it would be slower than using native variables, but that doesn't mean it couldn't work. The extra flexibility could definitely be worth it. > Paul.Abbott at PSS.Boeing.com wrote: > > Is it possible to use the mini assembler and a function or > var address > > to jump to the code? > > The code in the var or function would have to return itself to be > > effective. Or you could just tweak Dave's Eu/Ox/Py to do this kind of stuff (I believe it's called scripting:). Matt Lewis