On 8/2/2014, 4:52 PM, Peter Haworth wrote:
Here's the one that catches me every time:

set the (<any expression here>) of button "xyz" to 10

That results in a compile error "token is not a property".  Tried it using
"value" too but same error.  The only way round this I've found is to use
"do" but why can't the compiler handle this?

Try:

put <expression> into tProp
set the tProp of button "xyz" to 10

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to