Hi Beth,
I don't know about Textpad, but I can run the -global note_leader "Source: etc" line from Ultraedit.
This line will not work from the command line in Stata however. This is because the /* and */ comment delimiters only work in do files, not interactively from the command line.
Kieran
______________________________________________
Kieran McCaul MPH PhD
WA Centre for Health & Ageing (M573)
University of Western Australia
Level 6, Ainslie House
48 Murray St
Perth 6000
Phone: (08) 9224-2140
Fax: (08) 9224 8009
email: [email protected]
http://myprofile.cos.com/mccaul
_______________________________________________
The fact that no one understands you doesn't make you an artist.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Beth Gifford
Sent: Saturday, 4 October 2008 4:36 AM
To: [email protected]
Subject: Re: st: Problem with ultraedit and comments
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/
*
* 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/