Code that edits your code

G

Guest

Just a curious question... I was wondering if anybody knows how to write
code that would modify the code you use behind forms. For instance, I have a
databse that logs field changes to revision history table, and all the
related variables I prefixed with 'rev'. Now that I have the thing up and
running good, I'd like to get rid of some of the junk characters and clean up
my variable names. Ideally, code such as 'if the prefix is "rev" change it
to "r".

If this is an easy thing to do, that would be great, but if there is a way
and it's a real pain to get right, I'm probably not going to play with it
much. Just wondering... thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top