This has arisen several times previously on the list in various forms.
Search the archives with key words such as "encrypt".
One key question is _who_ it is who can or cannot see the code.
I think the only way to make code invisible to the person who uses that
code within Stata is to join StataCorp, become a developer and write
such code, implemented in C or Mata code that is hidden to the user. But
then it would not be .do or .ado in form.
You can presumably make it invisible to anybody by wrapping it inside
something else that is password-protected, but that disables it from
Stata use.
Nick
[email protected]
Tharyan, Rajesh
I want to ask a related question. In Excel for example, you could write
a VBA routine and then password protect it so that people cannot see the
actual program. Is there some way to password protect your stata ado/do
files so that the actual code cannot be viewed?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/