There is a utility called CodeBlk.prg written by Randy Pearson. It runs code stored in memo fields. It does not compile, it parses the code and attempts to run it one line at a time: it can even do loops. You may want to check it out. I believe that it is in the UT libraries.
>Any ideas on how to add method code
>programmatically?