[TAO] value() to obtain pointer functionality

hh hh at livecode.org
Sun Aug 3 17:14:05 EDT 2014


Hello Peter.

Let us argue constructively instead insisting on "rules". Currently wonderful things are possible to "set" (because "set" doesn't use internally "the"):

  set empty of this stack to "papperlapapp"
  set 7 of this stack to "empty"
  set 7.0 of this stack to "1"
  set 7.00 of this stack to "2"

Now you wish to have to allow
set "7.0 + empty" of this stack to (the 7 of this stack)

What's the result? All parts are valid expressions
7.0 + empty is 7, 7.0 + empty is 7.0,  7.0 + empty is 7.00 and the 7 of this stack is empty.

Currently you certainly cannot get the above properties by "get <property>" (because "get" uses internally "the") but e.g. like this:

on mouseUp
  set empty of this stack to "paperlapapp"
  set 7 of this stack to "empty"
  set 7.0 of this stack to "1"
  set 7.00 of this stack to "2"
  put the customproperties of this stack into o...kay
  combine o...kay by cr and comma; answer o...kay
end mouseUp

I understand very well what you wish and can fully understand why you wish it. But eventually you are requesting what's already implemented and unambiguously usable: "do".

Hermann



More information about the use-livecode mailing list