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

RE: st: Help with Reading Arguments for Do-File


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Help with Reading Arguments for Do-File
Date   Mon, 14 Nov 2005 10:57:06 -0000

Many people have been bitten by this at precisely your 
stage, but it is wrong to blame the manuals. I find 
at [U] 18.3.1 (p.200 of Stata 9 edition) that the key 
difference between left and right single quotes is explained
when local macros are introduced. 

Note also that Stata is not being awkward here. As references
to local macros can be, and often are, nested, without some 
asymmetry of delimiters syntax like 

	'a'b'c'

would be hopelessly ambiguous. 

Nick 
[email protected] 

George Stimson
 
> Thanks, the quotation marks were indeed the source of my problem. 
> Unforunately, the manual does not make that clear.
 
Sergio 

> Its only the quotations..
> 
> to use a macro you need to write `1' , not '1' ( " ` " is in some
> keyboards a "french grave accent" or something like that)

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