On Dec 12, 2015 3:29 AM, "Ryan Eckbo" <ec...@cim.mcgill.ca> wrote: > > One fix is to hardcode the number of letters: > > inc=: >:&.(26 26 26 26&#.)&.(alpha&i.) > inc 'axyz' > axza >
That is what I did with this adverb ex: 0 1 -: (2 nextLetter) (0,0) ex: 1 0 -: (2 nextLetter) (0,25) nextLetter=: (1 : '(((m#26)&#:) @: ((m#26)&#.) @: (((m#26) #: 1) + ]) )') ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm