Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Martin Weiss" <martin.weiss1@gmx.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: problem with _request() |
Date | Wed, 17 Mar 2010 18:59:56 +0100 |
<> We have had discussions about the -request()- option before: http://www.stata.com/statalist/archive/2009-10/msg01363.html http://www.stata.com/statalist/archive/2009-11/msg00032.html HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Michael Norman Mitchell Sent: Mittwoch, 17. März 2010 18:36 To: statalist@hsphsun2.harvard.edu Subject: st: problem with _request() Greetings In a recent post, Carl had troubles using "display _request()". I have need for this and am also having troubles with this. I have a simple do-file named test.do ---- test.do ---- display "What is your name?" _request(yourname) display "`yourname'" ---- test.do ---- When I run this, I expect it to display my name back. But this is what I get... . do test.do . display "What is your name?" _request(yourname) What is your name?. Michael . display "`yourname'" . . end of do-file Am I using this incorrectly? Can anyone else confirm this as a problem? Many thanks, Michael -- Michael N. Mitchell See the Stata tidbit of the week at... http://www.MichaelNormanMitchell.com * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/