Devon, I don't think that is any more practical because when the user enters a command I cannot predict how many paints there will be on the j side. Each j paint increments NUMBER and appends to the PENDING list. I don't believe it is possible to include in each paint a delay period, but that might be another possibility, if I could figure out how to circumvent the problems of setTimeout() or setInterval() mentioned by @gman.
Am I missing something, though? On Tue, Apr 29, 2014 at 2:44 PM, Devon McCormick <[email protected]> wrote: > Have you thought about having the J code construct the Javascript on the > fly in the format suggested by the seemngly-knowledgable poster? I.e. > building the various steps of the format > > function step1() { > ctx.fillStyle = "blue"; > ctx.fillRect(10,10,20,20);} > > Then following that with the calls to the steps? > > > > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
