Bug getting group name, plse check

Mark Schonewille m.schonewille at economy-x-talk.com
Sat Aug 15 15:45:16 EDT 2015


Hi Bill,

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.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 8/15/2015 21:15, William Prothero wrote:
> Richard:
> 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.
>
> Best,
> Bill
>
>> On Aug 15, 2015, at 9:34 AM, William Prothero <prothero at earthednet.org> wrote:
>>
>> Richard:
>> 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.
>> Best,
>> Bill
>>
>>> 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:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




More information about the use-livecode mailing list