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

st: -window menu append item- compound quotes are missing somewhere


From   "Renzo Comolli" <[email protected]>
To   <[email protected]>
Subject   st: -window menu append item- compound quotes are missing somewhere
Date   Mon, 29 Dec 2003 01:45:30 -0500

Dears,

Either I have a bug, or there is a bug. Given that the trace does not show
the operations stata does on pull-down menues, I would be grateful for your
help in debugging

If I write in profile.do
. global diss `"C:/My Documents/Here"'
. window menu append submenu "stUser" "DoEdit"
. window menu append item "DoEdit" "gss_dataset_description" `"doedit
"$diss/GSS/do/3gss_dataset_description.do" "'
then, when I click on the entry in the menue, I get
. invalid 'Documents' 
r(198);
which of course is the word documents in the path "my documents"


If I write
. global diss `"C:/My Documents/Here"'
. window menu append submenu "stUser" "DoEdit"
. window menu append item "DoEdit" "gss_dataset_description" `"doedit
`"$diss/GSS/do/3gss_dataset_description.do"' "'
then the file editor lauches, but the content is white rather then showing
the code

I tried to put compounds quotes whereever possible possible to no avail.
Any suggestion?
Or bug confirmation?

Thanks
Renzo Comolli

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