[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: quotation mark format change causes invalid syntax error
Which editor do you use? Are you typing your do-file in Word. Have
you read the text editor FAQ?
--- "Seligman, Hilary" <firstname.lastname@example.org> wrote:
> I have come across a very basic problem I am unable to solve. I
> have a
> long do-file labeling all my variables. In the middle of the file,
> way the quotation mark looks on the screen changes for some reason
> looks like the quotation marks are a different font, although the
> of the letters are actually the same). This happens in the middle
> of a
> line. Here is the line where the change begins:
> label define continuous 1 "value given" 2 "don't know" 3 "refuse"
> Note (if you can tell on your screen) that the quotation marks
> "refuse" look different from those around "don't know" and "value
> At this line, the do-file ends with an uninformative message:
> invalid syntax
> No lines of code past this line of code work, and all of them have
> quotation marks as in "refuse." I have tried changing the font for
> entire do-file, re-typing the quotation marks, cutting and pasting
> the end of the do-file to the beginning, but I can not get back the
> quotation marks that are being correctly interpreted by Stata. If
> I go
> back and retype the quotation marks in the early part of the
> the quotation marks change to those like in "refuse," and that line
> code stops working as well.
> Thanks for any words of wisdom.
> --Hilary Seligman
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
* For searches and help try: