(><]) value can be expanded to (> value) < (] value) which yields 0 (“false”) for any unboxed real value
(> (<])) value can be expanded to (value > (<])) value and in turn to value > (<]) value and finally to value > value < ] value but value < ] value evaluates to the same as (><]) value above does so for any unboxed real value, (> (<])) value will work like value > 0 which is true in case value = 123 If you want to box and unbox, say ><123 which will give you back 123. Parenthesized groups of verbs work differently: https://code.jsoftware.com/wiki/Vocabulary/fork https://code.jsoftware.com/wiki/Vocabulary/hook Am 02.07.22 um 13:26 schrieb Jacques Bailhache:
According to https://www.jsoftware.com/help/dictionary/d020.htm : Open is the inverse of box, that is, ><y is y . But : ] 123 123 (><]) 123 0 (>(<])) 123 1 How do you explain I get different results ? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- ---------------------- mail written using NEO neo-layout.org ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm