Hi all,

My question is quite straightforward I guess but I did not find any answer on the web.

Let's say I create a program:

Code:
capture program drop myprogram
program define myprogram
    *do my things here*
end
Then, I can simply call it subsequently by typing
Code:
myprogram
and it works fine. My question is: is it possible to do something like this below and get the program work?:
Code:
local myprogramname = myprogram
`myprogramname'
Thanks in advance for your help.

Best,

Michele