custom props woes

Dr. Hawkins dochawk at gmail.com
Fri Oct 18 18:24:29 EDT 2013


On Fri, Oct 18, 2013 at 2:59 PM, Klaus major-k <klaus at major-k.de> wrote:

> Nope, see my last response to Richard:
> ...
> 2. If I change the content of that CP to a string ("a string") then I get
> that string!
>

if you
   set the someVariable of somthing


if there is a variable someVariable, it gets evaluated.  You can't quote
it, either.

I have some loops to the effect of

  repeat for each word prop in "prop1 prop2"
     set the prop of stack myStack to value(prop)
  end repeat


Personally, I think it a bug that you can't simply quote a string to
prevent it being evaluated as a variable, but. . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list