With two verbs defined: input=: 3 : 0 NB. Test reading from keyboard Say y 'Got "', (1!:1 [1), '"' )
Say=: 3 : 0 if. #y do. i. 0 0 [y 1!:3 [2 end. ) Invoke input and respond with enter: input 'now? ' NB. Read from keyboard now? i. 8 Got " i. 8" The indented prompt may lead you believe input exited, but it did not. The same issue exists in Explicit Definition. Paul -- Paul 650-766-1863 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
