Yes menu is a keyword. The rest is just what the parser can and can’t cope with.
> On 27 Jan 2016, at 4:04 PM, Ralph DiMola <[email protected]> wrote: > > Riddle me this Batman: > > I have 2 controls named "F1"(field) and "menu"(button) both in a group named > G1 > > Why does this work...???? > put "F1" into somevar > put the long name of control somevar into someothervar > > But this does not work... > put "F1 of group G1" into somevar > put the long name of control somevar into someothervar > > This works.... > put "F1 of group G1" into somevar > put the long name of ("control"&&somevar) into someothervar > > This also works.... > put "F1" into somevar > put the long name of ("control"&&somevar) into someothervar > > But this does not > put "menu of group G1" into somevar > put the long name of ("control"&&somevar) into someothervar > > But this does > put quote&"menu""e&&"of group G1" into somevar > put the long name of ("control"&&somevar) into someothervar > > And this works > put "menu" into somevar > put the long name of control somevar into someothervar > > Menu seems to be a keyword or something. What am I missing? Should there > always be quotes around control names? (banging head against wall) > > Ralph DiMola > IT Director > Evergreen Information Services > [email protected] > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
