Porthos SG1 Posted July 17, 2004 Share Posted July 17, 2004 How would I go about being able to execute code at runtime? I specifically want to be able to type in some code into a TMemo (at runtime) and the program will execute it. Link to comment Share on other sites More sharing options...
0 Si Veteran Posted July 17, 2004 Veteran Share Posted July 17, 2004 Well, you need to interpret the code typed into the TMemo, or somehow make use of the compiler with your own app. I think. Link to comment Share on other sites More sharing options...
0 jkinzer Posted July 19, 2004 Share Posted July 19, 2004 That's gonna be complicated. You either need to parse and execute the code or send it to a compiler and then execute the compiled code. Either way, it's gonna be tough, because you have to deal with errors and such. Link to comment Share on other sites More sharing options...
Question
Porthos SG1
How would I go about being able to execute code at runtime? I specifically want to be able to type in some code into a TMemo (at runtime) and the program will execute it.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts