While playing around with an edit control I discovered I could select and execute several lines of AutoIt in sequence using the function Execute. There appear to be several drawbacks to using such a primative method, but I only want basic functionality - nothing fancy. The main problem seemed to be declaring variables. I started out by trying a few things, but was never satisfied with the overcomplexity introduced by parsing the code.
Anyway after several attempts I decided to abandon declar