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

Re: st: Nifty new command window behavio(u)r


From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   Re: st: Nifty new command window behavio(u)r
Date   Wed, 04 May 2005 08:28:01 -0500

I've notice that with pleasure, too. However, there seems to a limit to the number of lines you can paste in. Does anyone know the limit on lines or characters?

At 08:10 AM 5/4/2005, you wrote:

Hi all,

I note that (at least in Windows) the command window now allows you to paste multiple lines of commands, all at once. That is, if you copy three lines of code from a text file (or email or whatever) and then paste them into the command window, they all appear in the window, and are executed in turn when you press Enter.

Multiple lines can also be entered in the command window, separated by Ctrl-Enter, and only executed when Enter is pressed.

This is very handy when executing a small bit of a .do file that is being edited in something other than the DoEditor, because several lines can be Copied and Pasted all at once.

But, I note, the command window processor does not seem to allow the end-of-line characters to be commented out, which seems to me to limit the usefulness of this feature.

Tha is, I can cut and paste the following from this email (Try it!):

forval i=1/3 {
di `i'
}

But not this:

sysuse auto, clear
graph twoway scatter mpg price //
title("My Title")

I wonder if StataCorp could change this, and if others would find that useful?

--NIck


--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government [email protected] e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-4601

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

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
[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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index