Bug getting group name, plse check
m.schonewille at economy-x-talk.com
Sat Aug 15 15:45:16 EDT 2015
If you can send me a list of words and connected issues that you would
like to be able to search for in the index, I'll consider adding them in
the book I'm currently writing or in any future publications.
Economy-x-Talk Consulting and Software Engineering
Installer Maker for LiveCode:
Buy my new book "Programming LiveCode for the Real Beginner"
LiveCode on Facebook:
On 8/15/2015 21:15, William Prothero wrote:
> This is an example of how difficult it can be to find docs on an operation that isn’t commonly used and that doesn’t have “obvious” syntax. Even the livecode books by Mark Schonewill and Colin don’t allow for finding this kind of information, especially in the index. If the contents of these books wer electronically searchable, that might help a lot, because there is a lot of information buried in the text that isn’t quickly find-able.
> Perhaps if there was a dictionary based, not on livecode commands, but on operations that the user wants to perform, with great search, it would be helpful.
> Then again, this list is a great source of this kind of info too.
>> On Aug 15, 2015, at 9:34 AM, William Prothero <prothero at earthednet.org> wrote:
>> Hmm…. Thought I tried that. But, I tried it again and it worked. Thanks for the info.
>> put the short name of the owner of me into tGroup —works fine.
>>> On Aug 14, 2015, at 5:28 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:
>>> William Prothero wrote:
>>>> “the long name of me” is a complete reference to an object, which
>>>> contains the group name. What I was trying to do is get the name of
>>>> the group that the button is in. I can parse it from the long name of
>>>> me, but thought it would pull it out of “me”.
>>>> Anyway, what do I know? If I’m wrong to expect this, then I won’t
>>>> report it as a bug (of course).
>>> LiveCode does so many things for us so well that it's easy to overestimate its intelligence.
>>> When you write:
>>> put the short name of grp me into tGroup
>>> ...what it sees is:
>>> put the short name of grp (me) into tGroup
>>> ...which becomes evaluated as:
>>> put the short name of grp (button id 1033 of group id 1035 of card id 1011 of stack "Some/Path/To/Stackfile.livecode") into tGroup
>>> ..which causes the engine to have a minor breakdown trying to figure that out. :)
>>> It would be nice if we could write:
>>> put the short name of my grp into tGroup
>>> While we don't currently have "my <parentType>" (however cool that might be) we do have a more generic form, the owner:
>>> put the short name of the owner of me into tGroup
>>> Richard Gaskin
>>> Fourth World Systems
>>> Software Design and Development for the Desktop, Mobile, and the Web
>>> Ambassador at FourthWorld.com http://www.FourthWorld.com
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode