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-26 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.

Strange compile error

2013-04-25 Thread Peter Haworth
*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 on the getPropertyValues line - Commands:

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 on

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 11:46 AM, J. Landman Gay jac...@hyperactivesw.comwrote: 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,

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth pete@... 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.

Re: Strange compile error

2013-04-25 Thread Mark Wieder
J. Landman Gay jacque@... 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 Ralph DiMola
...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Haworth Sent: Thursday, April 25, 2013 3:00 PM To: How to use LiveCode Subject: Re: Strange compile error On Thu, Apr 25, 2013 at 11:46 AM, J. Landman Gay jac

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 2:06 PM, Mark Wieder wrote: J. Landman Gay jacque@... 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

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 causes

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 http://www.lcsql.com On Thu, Apr 25, 2013 at 12:06 PM, Mark

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth pete@... 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 Mark Wieder
Peter Haworth pete@... 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

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 deal

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 1:59 PM, Mark Wieder mwie...@ahsoftware.net 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

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 3:53 PM, Mark Wieder wrote: Peter Haworth pete@... 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

Re: Strange compile error

2013-04-25 Thread J. Landman Gay
On 4/25/13 3:59 PM, Mark Wieder wrote: Peter Haworth pete@... 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,

Re: Strange compile error

2013-04-25 Thread Mark Wieder
Peter Haworth pete@... 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

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

Re: Strange compile error

2013-04-25 Thread Mark Wieder
J. Landman Gay jacque@... 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

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 3:37 PM, J. Landman Gay jac...@hyperactivesw.comwrote: 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

Re: Strange compile error

2013-04-25 Thread Peter Haworth
On Thu, Apr 25, 2013 at 3:43 PM, J. Landman Gay jac...@hyperactivesw.comwrote: 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