| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: "///" line continuation marker & win/unix?
I have some ado files containing lines that use the "///" end of line
continuation marker. These files are saved on a Win/XP machine using an
editor. To exchange these files with remote colleagues, I currently (a)
upload each ado file to a virtual windows (samba) drive held on a Unix
machine, and then (b) attach said files to my email message, and send.
Problem: the recipients find problems with lines ending in "///". As a
result the ado file doesn't work. The error message indicates that Stata
is not continuing on to the next line.
I suspect that the problem may be to do with different end-of-line
treatments in Win and Unix environment, but am not sure. (A hidden line
feed being added?
[I admit that the problem might arise elsewhere, but this is where the
smoking gun is.]
Any comments & suggestions, please? My quick Googling and -findit- was
not rewarding.
For what it's worth, putting all the files into a zip file archive and
sending that using steps (a) and (b) above appears to avoid the problems
Changing the "///" in the original files to use /* and */ over lines
appears to solve the problem too but I have not been able to verify that
100% yet
Stephen
=============================================
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester CO4 3SQ, UK
Phone: +44 1206 873374. Fax: +44 1206 873151.
http://www.iser.essex.ac.uk
Survival Analysis Using Stata:
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/index.php
*
* 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/