get/set (short) name

Klaus major-k klaus at major-k.de
Fri Jul 25 11:01:51 EDT 2014


Hi Herrmann,

Am 25.07.2014 um 16:53 schrieb hh <hh at livecode.org>:

> Hi Klaus,
> 
> the only wrong thing with this are the main syntax-lines in dictionary's entry for "name". These should read
> 
> get the [long | abbr[ev[iated] | short] name of object
> set the name of object to "shortName"
> 
> But the description is clear:
> 
> "get the name of obj" yields the *abbrev* name of obj
> "set name of obj to var" sets var as *short* name of obj
> 
> You can't set an 'attributed' name. The only case that would make sense is to "set the short name". But this is already done by "set the name".
> And you are, as I read often in the forum, the grandmaster of LC with "say it short" ... -:)


well, I already "enhancement request"ed that and in one of the next versions we will also be able to:
set the short name of btn 1 to "shrtnme"

:-)

<http://quality.runrev.com/show_bug.cgi?id=12838>

> Hermann

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list