• 0

[DELPHI] How to execute code @ runtime?


Question

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

  • 0

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.