Re: Strange compile error

2013-04-29 Thread Robert Brenstein
On 25.04.2013 at 16:46 Uhr -0700 Peter Haworth apparently wrote: Don't think it needs anyone to spend any more time on it now that I've got it working. I'll just accept it as a compiler weirdness, although the error message didn;t give any clue as to what the the real problem might have been.

Re: Strange compile error

2013-04-25 Thread Alan Stenhouse
Hi Pete Did you try putting brackets around the variable? cheers Alan -- Alan Stenhouse alanstenho...@hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station.

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 3:43 PM, J. Landman Gay wrote: > Mark The RunRev would know, or maybe we can get Mark The Wieder to comb > through the source code and find out. In fact, keeping him busy might save > us from some of those bad puns. Don't think it needs anyone to spend any more time on it

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 3:37 PM, J. Landman Gay wrote: > In the meantime, there's no reason not to complain to me. But given the > way this week has been going, you'll have to stand in line. > But, but, but... I complained last week, before you sent the email :-) Pete lcSQL Software

Re: Strange compile error

2013-04-25 Thread Mark Wieder
J. Landman Gay writes: > In fact, keeping him busy might save us from some of those bad puns. ...in your dreams... -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subs

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 3:32 PM, Peter Haworth wrote: Hi Jacque, Yes, definitely abbrev name as in field "myField". However, there's no way for the compile process to know the contents of pitemname at runtime so I don't think that's what is causing the error. As mentioned, adding the word "control" before p

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth writes: > I think all this talk of extra terrestrials and ESP is having some sort of > time warp effect on the internet. Not only that, but I think all this talk of extra terrestrials and ESP is having some sort of time warp effect on the internet. -- Mark Wieder mwie...@ahsoft

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 3:59 PM, Mark Wieder wrote: Peter Haworth writes: I'm experiencing some sort of weird time warp with your emails to the list. I just replied to Jacque's email which contained the text of yours BEFORE I received yours! If you start getting my emails before I send them, then I thi

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 3:53 PM, Mark Wieder wrote: Peter Haworth writes: I'm experiencing some sort of weird time warp with your emails to the list. I just replied to Jacque's email which contained the text of yours BEFORE I received yours! Ah, that Jacque is such a joker! You should talk... -- Ja

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 1:59 PM, Mark Wieder wrote: > If you start getting my emails before I send them, then I think complaints > to Jacque are in order. In fact, I think complaints to Jacque *before* you > receive them would be even more apropos. Don't wait until it's too late. > I think all t

Re: Strange compile error

2013-04-25 Thread Peter Haworth
Hi Mark, Jacque's suggestion of putting "control" before "pitemname" is working for me although, as mentioned in a prior email, I'm not sure why, but I'll take it. You're right, using IDs would require me to keep a list of the ids related to each abbrev name in a custom prop somewhere, not a big d

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth writes: > I'm experiencing some sort of weird time warp with your emails to the list. > I just replied to Jacque's email which contained the text of yours BEFORE > I received yours! If you start getting my emails before I send them, then I think complaints to Jacque are in order.

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth writes: > I'm experiencing some sort of weird time warp with your emails to the list. > I just replied to Jacque's email which contained the text of yours BEFORE > I received yours! Ah, that Jacque is such a joker! -- Mark Wieder mwie...@ahsoftware.net _

Re: Strange compile error

2013-04-25 Thread Peter Haworth
Hi Mark, Yes, as just confirmed to Jacque. I'm experiencing some sort of weird time warp with your emails to the list. I just replied to Jacque's email which contained the text of yours BEFORE I received yours! Pete lcSQL Software On Thu, Apr 25, 2013 at 12:06 PM, Mark W

Re: Strange compile error

2013-04-25 Thread Peter Haworth
Hi Jacque, Yes, definitely abbrev name as in field "myField". However, there's no way for the compile process to know the contents of pitemname at runtime so I don't think that's what is causing the error. As mentioned, adding the word "control" before pitemname makes everything work but also cau

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 2:06 PM, Mark Wieder wrote: J. Landman Gay writes: The menu item will be something like "my item". There won't be an ID for "my item". There just may be an ID for control "my item". ;) Pete said that he's using the abbreviated name, which *does* contain the control type. My ESP

RE: Strange compile error

2013-04-25 Thread Ralph DiMola
t;, char 7 Maybe the dreaded "Do" is a way around this? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Haworth Sent: Thursday, April 25, 2013

Re: Strange compile error

2013-04-25 Thread Mark Wieder
J. Landman Gay writes: > The menu item will be something like "my item". There won't be an ID for > "my item". There just may be an ID for control "my item". ;) Pete said that he's using the abbreviated name, which *does* contain the control type. -- Mark Wieder mwie...@ahsoftware.net _

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth writes: > What am I missing? The easiest way around this is the wordiest: getPropertyValues the long id of (word 1 of pitemname && word 2 of pitemname && "of group" && "TestControls") but in general you would probably be better off using the id rather than the abbreviated name. S

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 11:46 AM, J. Landman Gay wrote: > The menu item will be something like "my item". There won't be an ID for > "my item". There just may be an ID for control "my item". ;) > > getPropertyValues the long ID of control pitemname of group "TestControls" > Hi Jacque, Adding "co

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 1:17 PM, Peter Haworth wrote: *on* menuPick pItemName buildPropertyGroups pitemname getPropertyValues the long ID of pitemname of *group* "TestControls" *end* menuPick (Apologies in advance for any strange formatting my mail client inserts) The above gets a compile error o