Hi Brian,

On Tue, Feb 25, 2014 at 11:22 AM, Brian Schott <[email protected]>wrote:

> I cannot think of ways to
> supply such arrays of varying number of rows to a draw() type function.
> That is my first question, how to supply multiple move or turns, preferably
> without loops, but not necessarily.
>
>
If I understand correctly, I tackled a similar problem with my web
spreadsheet example. I passed a LF delimited string of data from javascript
to J with the ajax function. On the J side, I did a LF cut data to have a
boxed array of cells.  Could you do the same thing to create a boxed array
of moves?


> For example, inside fdyw,
> which is a j verb containing first fd and then yw, but the only event
> triggered is the text change event, not the fd nor the yw. So my second
> question is how to achieve this in JHS?
>

I'm not really understanding the question well enough to help. Can you
restate it perhaps more generally? I'm understanding it as something along
the lines of "how do I trigger an event on the client side from the J side?"
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to