Accessing custom props using array notation

Kevin Miller kevin at
Thu Aug 19 11:25:50 CDT 2010

On 19/08/2010 17:16, "Devin Asay" <devin_asay at> wrote:

> True enough, but can you do the opposite?
> put "state" & 1 into tPropName
> put the tPropName of image "myImg" into foo
> Unless memory fails, you can't do that--I've tried it; i.e., you can't
> dynamically build property names to access existing custom props.
> I would be love to be proven wrong. ;-)

Well it should work and it does here.

Kind regards,


Kevin Miller ~ kevin at ~
RunRev - Software construction for everyone

More information about the use-livecode mailing list