Statalist The Stata Listserver

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

st: "///" line continuation marker & win/unix?

From   Jenkins S P <>
Subject   st: "///" line continuation marker & win/unix?
Date   Thu, 26 Jan 2006 15:34:42 +0000 (GMT)

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

Professor Stephen P. Jenkins <>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester CO4 3SQ, UK
Phone: +44 1206 873374. Fax: +44 1206 873151.
Survival Analysis Using Stata:

* For searches and help try:

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