LC 6.5 DP1 Mystery

Ralph DiMola rdimola at evergreeninfo.net
Wed Sep 25 17:33:35 EDT 2013


I think this is something different. In 6.5==> put the name of control
("group"&&quote&"jbtlogo"&quote&&"of this card")
Throws a "no such object error". Pre 6.5 it would return==>Group "jbtlogo"
Looks to me that the 6.5 is the correct behavior.

This returns==>Group "jbtlogo"<== in both 6.5 and pre 6.5 if you eliminate
the reference to a card:
put the name of control ("group"&&quote&"jbtlogo"&quote)


Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Monte Goulding
Sent: Wednesday, September 25, 2013 4:26 PM
To: How to use LiveCode
Subject: Re: LC 6.5 DP1 Mystery

There was a change to name which I believe now returns empty if there was no
name instead of abbrev id. Does that explain it?

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 26/09/2013, at 6:12 AM, "Ralph DiMola" <rdimola at evergreeninfo.net> wrote:

> Hmm... Found out what's going on here. This is the line of code that 
> fails in 6.5
> 
> "Put the name of control tVar1 into tVar2"
> 
> tVar1 contained==>Group "somegroup" of card "somecard" of stack
"somestack"
> 
> This is obviously wrong but up to 6.5 it worked and put "group somegroup"
> into tVar2. This is what I expected to be there. I changed the code to:
> 
> "Put the name of tVar1 into tVar2"
> 
> This fixed the problem. I consider this sloppiness(feature?) in LC pre 
> 6.5 and not a bug in 6.5.
> 
> Now on to the disappearing borders mystery in field controls....
> 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> 
> _______________________________________________
> 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