[TAO] value() to obtain pointer functionality
J. Landman Gay
jacque at hyperactivesw.com
Sat Aug 2 20:05:25 EDT 2014
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list