the "Eval" function

BlitzMax Forums/BlitzMax Beginners Area/the "Eval" function

MadMunky(Posted 2006) [#1]
I know that in php and javascipt, there is a function called 'Eval', which is used in the following way:

Eval("Print bla");
...does exactly the same as...
Print bla

Does anyone know if this function is available in Blitzmax?

Here is a php example: http://uk.php.net/eval


grable(Posted 2006) [#2]
Since BlitzMax is a staticly compiled language, an Eval function is not possible. sorry :/

But if you realy need one, you could use some sort of scripting language, like Lua. Or make one yourself.


MadMunky(Posted 2006) [#3]
Ok, thanks for your reply. I will try something else then.