The following two expressions using } are equivalent.
I would argue that the first is a more expressive use of the notation
because it reveals the intention to change the variable more clearly.

However, the side effects (space used) are very different.

xxx=.1000000?10000000
   7!:2'  xxx =. xxx 2 3 }~  999'
8391296
   7!:2'  xxx =. (999) 2 3 } xxx'
2432

Could }~ be treated specially to eliminate this difference?

Regards
David

(j601/2006-11-17/17:05 - J64)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to