The semantics of multiple assignment is no different from the semantics of single assignment. a=:x assigns name a to the referent x and the result of the phrase is x . If you have another assignment immediately to its left, the same logic applies. In b=:a=:x , when it comes time to do the b=: , the interpreter only sees b and =: and x; it does not know that you just did an assignment of x to a .
Section IIe of the dictionary is relevant. http://www.jsoftware.com/books/help/dictionary/dicte.htm Nothing is ever guaranteed. You know that. ----- Original Message ----- From: bill lam <[EMAIL PROTECTED]> Date: Friday, July 14, 2006 8:28 pm Subject: [Jprogramming] pass thru assignment > in the sentence > alpha=: beta=: ..... > > Current behaviour is alpha get its value independent of beta. Is this a design > feature? will this behaviour be warranted in the future? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
