On 2/27/2011 12:05 PM, Chip Orange wrote:
this tip from Aaron kind of implied that this would allow you to execute a 
block of code entered this way.

I think I just said that Shift-Enter (or Control-Enter) will move the cursor down to the next line. I use this quite a bit so that I can set up several lines of code, and have them executed one after another with each press of enter, like this:

Set a = ActiveWindow (shift-enter)
a.Status = wsMaximized (shift-enter)
if a.status = wsMaximized : print "it worked! : else : print "it didn't work! : end if

Then I can put the cursor on the first line, press enter, have that line execute, and then automatically move the cursor down to the second line. Then all I have to do is press enter again, and the second line will execute, and move the cursor down to the third line. Then, again, all I have to do is press enter, and the third line then gets executed. So this is how I get around having to put everything on a single line with a thousand colons in between each statement.

Aaron

--
Aaron Smith
Product Support Specialist * Web Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Reply via email to