By Jove, Raul, I think you've got it. I've got to move the jhrajax to inside 
the ev_command_entert. Brilliant.

Thanks to all you folks. This was a struggle, any I can't overstate how awesome 
you are to figure this out. 

---
(B=)

On Mar 23, 2014, at 8:24 PM, Raul Miller <[email protected]> wrote:

> After reading a bit more of you code, I need to change some of the details
> of my suggestions.
> 
> Immediately above your definition of 'paint' in tgsjhs.ijs you have:
> 
> ev_command_enter=: 3 : 0
> ". s=. getv 'command'
> )
> 
> At the bottom of your 'paint' definition you have the line:
>     jhrajax linecolors,JASEP,lines,temp
> 
> What I am proposing is that you store these values (linecolors, lines,
> temp) in your tgsj locale. You will have to change things slightly, so that
> paint can run multiple times. And then run the modified jhrajax from
> ev_command_enter.
> 
> Perhaps something like this:
> 
> ev_command_enter=:3 :0
>  PENDING=:''
>  ". s=. getv 'command'
>  jhrajax PENDING
> )
> 
> And then in 'paint' you would append data to PENDING.
> 
> Possibly you would need to get a little fancier than that - I've not
> studied your code in enough detail to guide this process.
> 
> But this would let you run 'paint' as many times as you need, and still get
> the "only one jhrajax" that your current design seems to need.
> 
> Does this make sense?
> 
> Thanks,
> 
> -- 
> Raul
> 
> 
> 
> 
> 
> 
> 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to