Dar-

Saturday, May 3, 2014, 12:23:53 PM, you wrote:

> Today we can say this:

>   if the mouse is “down” then …

That's a different kind of thing. "the mouse" is a state, not a
control. As a state it can have one of two current conditions. By
asking what the mouse "is" you are querying its current condition, but
by asking the same thing of a control (a button, etc) you are not
explicitly asking for the state of one of its properties, but rather
querying the control object itself:

if button "Quiet" -- references an object
if the mouse      -- references the mouse state

mapping the checked/unchecked state of a checkbox button onto the
object reference requires a whole new level of metaprogramming and
parser inference.

-- 
-Mark Wieder
 ahsoftw...@gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


_______________________________________________
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