Strange compile error

J. Landman Gay jacque at hyperactivesw.com
Thu Apr 25 14:46:31 EDT 2013


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 the getPropertyValues line - Commands:
> missing ',') near "of", char 37
>
> getPropertyValues is a command in the script of the button's card and has
> one parameter.  At run time, pitemname will have an abbreviated control
> name in it.
>
> What am I missing?

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"

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list