Hi Henry, It is a dyad because I mean it to be a dyad in its final form. I am not sure how to express it in the language YET.
The idea is that the function calls for a keyboard input. The keyboard input is the 'y' argument. Rather than escaping the function to go to the keyboard, the function should use the 'y' argument as the literal input. Once the input is 'received', it will be in a form (literal) that Pascal's function (".@,&'x') can pospend the x to the input and activate the number as extended. The deficiency is that the function escapes to physical keyboard input. The function has all of the arguments it needs, it shouldn't need to actually escape to keyboard. (That's partly the reason why you are asking why it's a dyad) I understand that it escapes to keyboard because we ask it to. I want 'simulate' the keyboard routine within the function. I hope that is more clear. Ak On Mon., Aug. 14, 2023, 19:59 Henry Rich, <henryhr...@gmail.com> wrote: > Why is extd a dyad? > > Otherwise, this seems to work. What is deficient? > > Henry Rich > > > > On 8/14/2023 8:38 PM, Ak O wrote: > > extd =: 4 : 0 > > n=. ((1!:1) 1 ) > > ((".@,&'x' n)) A. i. x > > ) > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm