Renzo Comolli ([email protected]) asked about including quotes
in a -window menu- item action:
> I now upgraded to Windows XP but the original bug is still there.
> . window menu append submenu "stUser" "DoEdit"
> . window menu append item "DoEdit" "My Dissertation" `"doedit "C:/Documents
> and Settings/Renzo Comolli/My Documents/Here/my dissertation.do""'
>
> Still gives the following error message when you click on the menue
> . invalid 'and'
> r(198);
In the current executable, quotes are being stripped from the
item action. Thus, Stata sees only
doedit C:/Documents and Settings/Renzo Comolli/My Documents/ ...
when the menu item is selected.
We have fixed this in our code here at Stata, and it will be
available the next time an executable update is released.
--Alan
([email protected])
*
* 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/