On 2019-12-30 18:25, David Lambert wrote:
Following j input causes limit error when 'noun verb'=. 0 17
This isn't the case actually, as you can see by replacing the for. loops with that assignment. At a guess, your exception-driven loop is causing J to overflow some internal stack by that iteration. Your code works for me with these changes: halted=: 0 halt=: 3 :'halted =: 1' ... halted =: 0 while. 0=halted do. INS=: decode INS end. if.19690720=0{MEMORY do. noun*100 + verb return. end. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm