Re: Another EU 2.5 suggestion...
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jan 26, 2004
- 523 views
aku saya wrote: >> Why should eval() need an interpreter? I wrote my own Euphoria function >> for evaluating math expressions, which are given as string at runtime. >> This works fine in compiled programs. > > I mean, eval() will need an interpreter if the parameter to eval() is > like this: > > atom A > A = 10 > print(1, eval("A + 7")) -- access the above A Ah, I see. You want the eval() function to be able to access variables in the program ... > In compiled program variable names will be discarded, right? I don't know. > If you need only the math only eval, why request to Rob? Why don't > just make your own eval() function? (So, not built-in in euphoria) Hm ...?? I did not request Rob for an eval() function. I _did_ write my own eval() function, as I previously wrote (see 1st paragraph of this mail). Regards, Juergen -- /"\ ASCII ribbon campain | This message has been ROT-13 encrypted \ / against HTML in | twice for higher security. X e-mail and news, | / \ and unneeded MIME | http://home.arcor.de/luethje/prog/