Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: quotes and dialog boxes


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: quotes and dialog boxes
Date   Fri, 31 Oct 2003 10:32:02 -0000

This sounds like a bug, and one I just
found in one of my own programs. The receiving
code should map incoming text

"Blah blah"

to the equivalent of

label data `""Blah blah""'

i.e. wrap input text in compound double quotes.

Nick
[email protected]

Michael Hills

> It seems that the general style when entering text in dialog boxes
> is that you don't need quotes, but you can put them in if you
> want to. However, in db label, labelling a dataset with "Blah blah"
> produces the command
> . label data ""Blah blah""
> and an error message. The behaviour I expected is that you would get
> . label data "Blah blah"
> whether you enter quotes or not in the dialog box.
>
> Is this a bug?

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



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