Re: Globals from the message box

2011-11-29 Thread Bob Sneidar
On Nov 29, 2011, at 10:04 AM, J. Landman Gay wrote: > On 11/29/11 10:23 AM, Bob Sneidar wrote: >> I tried that once, but just about the time I had him convinced, >> Jacque came through the wormhole, tackled me, gave me a noogie and >> told Kevin I was an alien from another planet with a competing

Re: Globals from the message box

2011-11-29 Thread J. Landman Gay
On 11/29/11 12:12 PM, Mark Wieder wrote: Jacque- Tuesday, November 29, 2011, 10:04:13 AM, you wrote: On 11/29/11 10:23 AM, Bob Sneidar wrote: I tried that once, but just about the time I had him convinced, Jacque came through the wormhole, tackled me, gave me a noogie and told Kevin I was an

Re: Globals from the message box

2011-11-29 Thread Mark Wieder
Jacque- Tuesday, November 29, 2011, 10:04:13 AM, you wrote: > On 11/29/11 10:23 AM, Bob Sneidar wrote: >> I tried that once, but just about the time I had him convinced, >> Jacque came through the wormhole, tackled me, gave me a noogie and >> told Kevin I was an alien from another planet with a c

Re: Globals from the message box

2011-11-29 Thread J. Landman Gay
On 11/29/11 10:23 AM, Bob Sneidar wrote: I tried that once, but just about the time I had him convinced, Jacque came through the wormhole, tackled me, gave me a noogie and told Kevin I was an alien from another planet with a competing product and to continue his work as planned. How she found tha

Re: Globals from the message box

2011-11-29 Thread Bob Sneidar
I tried that once, but just about the time I had him convinced, Jacque came through the wormhole, tackled me, gave me a noogie and told Kevin I was an alien from another planet with a competing product and to continue his work as planned. How she found that out I will never know! Bob On Nov 2

Re: Globals from the message box

2011-11-28 Thread Mark Wieder
Bob- Monday, November 28, 2011, 4:44:41 PM, you wrote: > Whoa! Yes you can! That means I can debug why the message box > acts that way! to be continued... Ow! My head! You've gotta watch that stuff... you'll start getting recursive and end up in one of Jacque's wormholes. Before you know it you'

Re: Globals from the message box

2011-11-28 Thread J. Landman Gay
On 11/28/11 6:41 PM, Bob Sneidar wrote: Got it. What an interesting quirk though that if you do re-declare them, they always resolve to true! It's the same thing that came up a week or so ago. Getting anything in the message box returns a boolean, which tells you if the command succeeded. If

Re: Globals from the message box

2011-11-28 Thread Bob Sneidar
Whoa! Yes you can! That means I can debug why the message box acts that way! to be continued... Bob On Nov 28, 2011, at 4:41 PM, Bob Sneidar wrote: > Now let's see, can I use breakpoint in a semicolon delimited single line > statement... ___ use-l

Re: Globals from the message box

2011-11-28 Thread Bob Sneidar
Got it. What an interesting quirk though that if you do re-declare them, they always resolve to true! Also, re-declaring them in the multiline message box has no adverse effect. Works like normal. Not saying anything should be done about it, I just find it interesting. Now let's see, can I use b

Re: Globals from the message box

2011-11-28 Thread J. Landman Gay
On 11/28/11 5:01 PM, Bob Sneidar wrote: Wait, you are saying that I can refer to the globals later without first declaring them to be globals? I did not know that! No. But once they've been declared already, you don't need to do it again in the message box when you query their value. -- Jacq

Re: Globals from the message box

2011-11-28 Thread J. Landman Gay
On 11/28/11 5:09 PM, Mike Bonner wrote: Interesting. I tried using a global from the message box without first declaring it once. Didn't work for me. Then declared it and it did. What am I missing? It has to have been already declared, either in a one-time declaration in the message box, or

Re: Globals from the message box

2011-11-28 Thread Bob Sneidar
Ok thanks that makes sense. I have a fuzzy recollection in the past that that didn't work for me but I suspect my coding at that time was fuzzier still. Bob On Nov 28, 2011, at 3:06 PM, J. Landman Gay wrote: > On 11/28/11 2:07 PM, Bob Sneidar wrote: > >> That works famously! It's only in the

Re: Globals from the message box

2011-11-28 Thread Mike Bonner
Interesting. I tried using a global from the message box without first declaring it once. Didn't work for me. Then declared it and it did. What am I missing? On Mon, Nov 28, 2011 at 4:06 PM, J. Landman Gay wrote: > On 11/28/11 2:07 PM, Bob Sneidar wrote: > > That works famously! It's only in t

Re: Globals from the message box

2011-11-28 Thread Mike Bonner
Yep, messed around with this a bit and it does seem to work fine. If you need to add a global later on, just declare that one once too and its added to the list the message box can see. (or so it seems to me) On Mon, Nov 28, 2011 at 4:01 PM, Bob Sneidar wrote: > Wait, you are saying that I can r

Re: Globals from the message box

2011-11-28 Thread J. Landman Gay
On 11/28/11 2:07 PM, Bob Sneidar wrote: That works famously! It's only in the single line message box that semicolon delimited put statements using globals always resolves to true. Sounds buggy to me! The message box has automatic access to any globals that have already been declared, so you

Re: Globals from the message box

2011-11-28 Thread Bob Sneidar
Wait, you are saying that I can refer to the globals later without first declaring them to be globals? I did not know that! Bob On Nov 28, 2011, at 12:57 PM, Mike Bonner wrote: > Seems like it should work but.. > > To get around this weirdness, define the globals once in the message box by >

Re: Globals from the message box

2011-11-28 Thread Mike Bonner
Seems like it should work but.. To get around this weirdness, define the globals once in the message box by themselves at which point they will "stick" and you can use them to your hearts content. Meaning: global gLogonSite,gSiteID -- once at which point it seems that any and all future reference

Globals from the message box

2011-11-28 Thread Bob Sneidar
Hi all. I seem to remember this working once, but it does not work now. In the message box I put: global gLogonSite,gSiteID;put gLogonSite & "," & gSiteID I get true. I should be getting something like 0,2. Are semicolons legal in the message box or no? I know I can use the multiline sect