On 5/6/05, Kit Baum <[email protected]> wrote:
> Strange that the earlier code does not work, since
>
> . foreach w of local c {
> 2. !ls ./`w'/*.*
> 3. }
>
> works fine (when local c = c(alpha) and pwd =
> /applications/stata/ado/base/)
>
> I cannot get the parser to misbehave.
>
> Kit Baum, Boston College Economics
> http://ideas.repec.org/e/pba1.html
Kit,
Are you typing this in at the command line, or is it in a do-file?
I tried it both interactively and from a do-file and it worked fine
interactively, but not from the do-file.
The manual ([U] (Stata8) p173) states that...
"The /* */, //, and /// comment indicators can be used in do-files
and ado-files only; you may not use them interactively."
Neil
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/