Dear all
I recently came across a strange problem. Programs saved in ado files within the ado path are not loaded when Stata starts.
For example, assume that i have an ado file named hello.ado in the PLUS directory:
Now if i type in Stata bye i get the following error:
After trial and error, i discovered that if i put program bye into a separate ado file (bye.ado) then it runs as expected.
Is it not possible to automatically load all programs in an ado file (in this example hello.ado), which is in the ado path?
Thank you.
I recently came across a strange problem. Programs saved in ado files within the ado path are not loaded when Stata starts.
For example, assume that i have an ado file named hello.ado in the PLUS directory:
Code:
program define hello program's content end program define bye program's contents end
Code:
unrecognized command: bye
r(199);
Is it not possible to automatically load all programs in an ado file (in this example hello.ado), which is in the ado path?
Thank you.
Comment