RE: st: macro - expansion problem

The outside quotes are necessary because
the inside ones are. To put it otherwise,
" " " " is ambiguous.
Nick
n.j.cox@durham.ac.uk
Fred Wolfe
> Thank you very much. That does work. I had tried compound
> quotes inside the
> brackets but not inside together with `" "' on the outside.
> I'll have to
> think about it more, as I am not sure that I understand why
> the outside compound quotes should be necessary.
At 02:44 AM 2/14/2005, you wrote:
> >This is just a question of quoting the filename (and so
> compound-quoting
> >the -write- statement)...
> >
> >file write `wfile' `"View {view "`fname'"}"' _n
> >
> >On a quick test, this appears to work.
> >
*
* 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/