wooohooo!

 

-----Original Message-----
From: Jared Wright [mailto:[email protected]] 
Sent: Sunday, February 27, 2011 9:09 PM
To: [email protected]
Subject: Re: Maybe a small problem in Immed App

Great idea!
On 2/27/2011 5:12 PM, Doug Geoffray wrote:
> Humm, actually this would be extremely simple.  We could do the 
> separate edit box as you described but what if you selected whatever 
> text you wanted executed from the normal Immed edit box and hit some 
> hotkey?  This would then send each line of the selection through as 
> one big chunk?  The only issue is if one of the lines had an error I'm 
> not sure the ExecuteGlobal VBScript method will return the line with 
> the error...but the code would certainly execute.
>
> Doug
>
> On 2/27/2011 12:05 PM, Chip Orange wrote:
>> And this is why Kevin is asking his question, because this tip from 
>> Aaron kind of implied that this would allow you to execute a block of 
>> code entered this way.
>>
>> So, I agree with Bruce, would be a great enhancement to immediate 
>> mode if there was an a way to execute a block as we're describing, or 
>> even a separate editbox which let you enter a block of code and click 
>> it's own execute button so it would execute everything in the 
>> editbox.
>>
>> Chip
>>
>>
>>
>>
>> -----Original Message-----
>> From: bT [mailto:[email protected]]
>> Sent: Saturday, February 26, 2011 3:36 PM
>> To: [email protected]
>> Subject: Re: Maybe a small problem in Immed App
>>
>>
>> Yes Tom,
>>
>>      But, a minor enhancement like I mentioned would be great and 
>> easier for test coding. After all, the 10 key pad enter breaks the 
>> lines. Then why not have either the enter key on the last line from 
>> the keyboard or just a ctrl T key to test run what you wrote.
>>      Having a clear scratch pad to write and test is much nicer and 
>> easier to debug then one long line of code.
>>
>>      Maybe someone will add that some day soon.
>>
>>          Bruce
>>
>> Sent: Saturday, February 26, 2011 1:15 PM
>> Subject: Re: Maybe a small problem in Immed App
>>
>>
>> Think of the immediate mode window as a little scratch pad for 
>> testing code.
>>
>> It's not a development environment. You can only execute one line of 
>> code at a time. But you can use the colon (:) character as a virtual 
>> line separator.
>>
>> Just remember how it works and it's a very productive tool. I've 
>> written huge chunks of code in it, copied and pasted it into my 
>> actual IDE, then just spent a few minutes making it look pretty.
>>
>> Hth,
>> Tom
>>
>> ----- Original Message -----
>> From: "bT"<[email protected]>
>> To:<[email protected]>
>> Sent: Saturday, February 26, 2011 12:56 PM
>> Subject: Re: Maybe a small problem in Immed App
>>
>>
>>
>> Hi!
>>
>>      I just did a test on that script and everything has to be on the 
>> same line.
>> I did the standard enter and it performs the command of that line, so 
>> a do while will have a loop error message I also did the enter key 
>> for each line from the 10 key pad and if standard keyboard enter is 
>> pressed after the loop it says loop without do
>>
>> So, no matter what, the only way the do while would work is if it was 
>> all on
>>
>> the same line.
>> This may be OK, but it makes for sloppy coding!
>> What if your function was long, sure makes a very long line doesn't it?
>>
>>      I would at least expect the last line of code would activate if 
>> the keyboard enter was pressed instead of the 10 key pad enter.
>>
>> Unless you have another way of doing a run?
>> Is there a command to run the code you entered?
>>
>>          Sincerely
>>          Bruce
>>
>>
>>
>> From: "Doug Geoffray"<[email protected]>
>> Sent: Saturday, February 26, 2011 10:09 AM
>> Subject: Re: Maybe a small problem in Immed App
>>
>>
>> Well, it executes all the code that was under the cursor when enter 
>> was pressed...not all the code in the Immed edit box.  I'm sure 
>> that's what you meant to say but just wanted to make it clear.
>>
>> Doug
>>
>> On 2/26/2011 9:19 AM, Jared Wright wrote:
>>> Pressing the standard enter key still runs everything that's in the 
>>> code window.
>>> On 2/25/2011 4:58 PM, Kevin Huber wrote:
>>>> Hi:
>>>> If, as suggest in this thread, that the numpad enter key could be 
>>>> used to test a large block of code,  how do you then execute a 
>>>> multiline block of code that you have just typed using the numpad 
>>>> enter key to insert line breaks at the end of each line?
>>>> Kevin Huber
>>>>      2/21/11, Stephen Clower<[email protected]>   wrote:
>>>>> Donovan,
>>>>>
>>>>> Was your numlock off?
>>>>>
>>>>> Steve
>>>>>
>>>>>
>>>>>
>>>>> On 2/21/2011 2:58 AM, Donovan Osborn wrote:
>>>>>> Hi, This is such a small problem I found, that I feel a bit 
>>>>>> foolish for writing about it.
>>>>>>
>>>>>> I don't know if this is just happening on my system or if this is 
>>>>>> a bug with the App. So I thoug I would post it and let other 
>>>>>> people try it to see.
>>>>>> If you type
>>>>>> Print 1+2
>>>>>> and hit enter you get three.
>>>>>> However if you type that same command and hit enter on the 
>>>>>> numpad, you get nothing.
>>>>>> At least, I don't.
>>>>>>
>>>>>> Regards,
>>>>>> Donovan Osborn
>>>>>> Senior supervisor of sitting around my house, reading audiobooks.
>>>>> --
>>>>> Stephen Clower
>>>>> Product support specialist
>>>>> GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 
>>>>> 46825
>>>>> 260-489-3671 * gwmicro.com
>>>>>

Reply via email to