> put -(-x)
> -- -1 -- if I get it right, the result is -1 because 
> initially x is -1. So, in brackets we assign it to minus 
> again, and it becomes a plus, but outside the brackets it is 
> assigned to minus again. So my question is: how come?

Because that's arithmetic. Director is doing exactly what it should.
Actually, you don't even need the parentheses. - -x does the same as
-(-x).

You explained the answer yourself. Trust your logic.

Cordially,

Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to