Indeed you can indirect through a variable - but you can’t do, e.g:
get the foo,bar,baz of me
Which was my point :)
Warmest Regards,
Mark.
P.S. Of course an obvious syntactic extension would be allowing quoting of the
property keyword: the “foo,bar,baz” of me.
Sent from my iPhone
> On 5 Nov
Mark:
> to access your custom properties with `the X of` syntax -
> it is *this* kind of access which is *not* possible
> if the custom property name is not an identifier
Discussion is perception - Code is reality:
put "I,love,commas*etc" into X
set the X of me to "Hi, Mark!"
answer
On 2023-11-03 20:21, Paul Dupuis via use-livecode wrote:
You do make a good point about the documentation regarding custom
properties. Assuming people read the documentation. At the same time,
you used to be able to use commas in custom property names. As Curry
noted, Livecode even used to use
Hi Paul,
I forgot to add handler
editorUpdate
to the list that needs a
"set the itemDelimiter to tab"
Kind regards
Bernd
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your sub
Hi Paul,
I looked a bit further into the problem with commas in key names of custom
properties.
It turns out that the widget "treeview" has the option to choose a delimiter
for paths. Default is comma.
If you feel adventurous you could hack the properties inspector fairly easily
to work with c