Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: A problem related to Comments

From   Mayank Mishra <>
Subject   st: A problem related to Comments
Date   Sun, 3 Jul 2011 22:21:14 +0530

Hi all,

I have a problem. Lets say I am working on a do file with comments.
The comments are fine when I run the do file as do file. But, when I
run a part of the code copied from the do file and pasted in command
window, which includes comments, Stata considers the comments as part
of code. So, apparently either I have to delete the comments or copy
the code in a manner in which the comments are avoided. Both are
undesirable for me. So, please tell me as to how can I avoid comments
in such case.

Thank You.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index