dicitonary page, http://www.jsoftware.com/help/dictionary/d332.htm
ev(i,j,r,c) (“emit vector”) is similiar, but the current word and any intervening items are catenated to the previous word if the previous emit was ev and the state at that time was r . It is used for numeric state (6) in monadic ;: The only way to leave numeric state is to first issue ev (code 4 or 5). Except for colon which leaves without ev or state change. it appears as though the next time that ew will be issued, 2 words will be output: the ev accumulated word, followed by the ew word. leaving by space, skips including the space, but if it comes back into numeric mode before issuing ew, then the space will be included with next ev from numeric. ;: '1 2xdN 3ssNB.._34 4ff ff 5 4n2' ┌─────────────────────┬──┬──────┐ │1 2xdN 3ssNB.._34 4ff│ff│5 4n2│ └─────────────────────┴──┴──────┘ ;: '1 2xdN 3ssNB.:34 4ff ff 5 4n2' ┌──────┬───────┬──────┬──┬─────┐ │1 2xdN│3ssNB.:│34 4ff│ff│5 4n2│ └──────┴───────┴──────┴──┴─────┘ Note that a colon not only breaks up a word at the end of the colon, it also breaks up the start of the space prior to that word. when the state machine went from space to 3 it did signal start of word. colon (other) to 34 signals end of word. So this makes sense. I HAVE EVENTUALLY COME TO A QUESTION: what happens if ev is emmitted from a state that is different than the last ev state? I can't really think of an example until I know what happens, but my guess as to what should happen is that the word formed by the last ev state is emmitted, and a new ev state is started. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
