get/set (short) name

hh hh at livecode.org
Fri Jul 25 10:53:37 EDT 2014


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" ... -:)

Hermann



More information about the use-livecode mailing list