Referencing a control name

Dick Kriesel dick.kriesel at mail.com
Fri Jul 24 20:43:09 EDT 2015


> On Jul 24, 2015, at 5:05 PM, Peter Bogdanoff <bogdanoff at me.com> wrote:
> 
> I want to reference that data like this:
> 
> 	set the width of <item 1 of line 1 of field “MyField”> to item 2 of line 1 of field “MyField”
> 
> How do I script the stuff inside the <> ? Sometimes that item will be a field, graphic, etc.
> 


Hi, Peter.  You could just replace your delimiters:

set the width of (item 1 of line 1 of field “MyField”) to item 2 of line 1 of field “MyField”

— Dick



More information about the use-livecode mailing list