Put a value in variable and field

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
problème
Posts: 77
Joined: Fri Oct 23, 2015 12:03 am

Put a value in variable and field

Post by problème » Tue Oct 27, 2015 7:06 pm

Hello,
I wonder if it was possible to put " value " in variable and the field " field" instead of :
put value into variable
put value into the field "field"

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Put a value in variable and field

Post by Klaus » Tue Oct 27, 2015 7:11 pm

Bonjour problème,

no, that is not possible, you will need 2 lines for this!

HInt:
Do not use THE when accessing LC objects!
Bad: put xyz into THE field "a field"
Good: put xyz into fld "a field"

That is "reserved" for properties:
answer THE height of btn 1


Best

Klaus

problème
Posts: 77
Joined: Fri Oct 23, 2015 12:03 am

Re: Put a value in variable and field

Post by problème » Tue Oct 27, 2015 11:26 pm

ok thanks for the answer

Post Reply