Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Problem with ultraedit and comments


From   "Beth Gifford" <beth.gifford@duke.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Problem with ultraedit and comments
Date   Fri, 3 Oct 2008 16:35:55 -0400

Hi all
If anyone has some constructive suggestions on how to fix this issue
please let me know. I'm getting weird responses from 2 text editors
(ultraedit & textpad) that I have had years of success with and I'm
not sure where to troubleshoot.

**text pad (per info on Jeremy Freese's page which was simple to
follow and worked well for a long time)
 if I try to run a do file in batch from textpad I get the following
error message
my log (which has the familar ascii STATA and my serial number at the
top) then reads

 cd "Z:\Groups\CFST\sbproject\Data\surveys\Checkbox_2008\CFSTLeader\analysisdata"
unrecognized command:  cd invalid command name
****************************************************
In Ultraedit:  I have (in the past on this machine successfully) used
the procedures documented by Freidrich Huber but I get the error below
even if I simply copy (control C) and paste (control V) into the stata
command file from ultraedit

If I copy and paste the text below to the command line from ultraedit:
global note_leader "Source: CFST Leader Survey Spring 2008" /*footnote
to a series of graphs*/

I get this
invalid syntax


--for some reason it won't let me use comments in the from of /*  */ or ///
-I contend these comments are very  helpful if your code is very
long--it's nice to have comments on the same line as the text.


**Any suggestions?

-Beth

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index