On Mon, Jul 28, 2014 at 4:36 PM, Richard Gaskin <ambassa...@fourthworld.com>
wrote:

> There are some extremely rare cases where "do" is useful, but most uses I
> come across are just habits held over from more limited xTalks like
> HyperCard.


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?

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
_______________________________________________
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