I visualized this something like the pd.

Not send each command to be shown.

Collect them and then like pd 'show' execute the chain.

Perhaps collect the moves into a boxed chain or lines in a matrix.

Issuing more commands add to the chain until a new show or reset.

The command chain could then easily be reexecuted/edited/saved.

Send many commands on individual independant execution can be tricky.

-
Björn Helgason
gsm:6985532
skype:gosiminn
On 24.3.2014 16:33, "Brian Schott" <[email protected]> wrote:

> Björn,
>
> The short answer is, yes, but ...
>
> I have been revising a turtle graphics app, tgsj, that employed opengl, a
> sort of precursor to webgl, calling the new version tgsjhs. tgsj was
> entirely a j app with dll calls to opengl and all of the turtle move/turn
> commands eventually use paint verb to alter the drawing. tgsjhs is similar
> and I was stuck on thinking that each paint should draw the webgl canvas by
> sending the turtle/canvas state to javascript using jhrajax. I guess no one
> could imagine that I would not realize that putting the jhrajax into the
> ev_command_enter was the obvious, needed variation. I had no difficulty
> placing PENDING=:'' in ev_command_enter, and building PENDING in paint, but
> I never did think to put `jhrajax PENDING` into ev_command_enter. I think
> the reason it took so long for folks to understand my problem was that it
> should not have been a problem.
>
>
> ev_command_enter=:3 :0
>   PENDING=:''
>   ". s=. getv 'command'
>   jhrajax PENDING
> )
>
>
> On Mon, Mar 24, 2014 at 2:57 AM, Björn Helgason <[email protected]> wrote:
>
> > Trying to understand the issue.
> >
> > You want to start several batch jobs and you do not really know if some
> of
> > them have finished yet?
> >
> > Right?
> >
> > -
> > Björn Helgason
> > gsm:6985532
> > skype:gosiminn
> >
> > --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to