Roger Hui <[EMAIL PROTECTED]> wrote: > I propose to extend the bitwise operations m b. for m e. 16+i.19 > to work on character (8-bit or 16-bit) arguments. e.g. > > 'abc' 23 b. '321' > srs
This sounds like a good idea. In this vein, perhaps it would also be good to extend certain arithmetic verbs as well? 'a' + i.3 abc 'c' - i.3 cba 'xyz' - 'a' 24 25 26 >: 'abc' def <: 'xyz' wxy 'ace' >. 'bad' bce 'ace' <. 'bad' aad Of course, domain errors on things like 'a'+'a', 0-'a', 'a'>.0 etc. as well as anything involving anything more complicated than addition, like 'a'*2, 'a'^2, %:'a', !'a', etc. -- Mark D. Niemiec <[EMAIL PROTECTED]> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
