I have your code up and running, and am able to change the background
color.

I get an error, though, when I select the text field containing 'fd 20' and
hit enter. That error looks like this in the ijx window:

*** event handler error
ev_command_enter 0
|value error: State
|   y=.0 Eye}    yxs&State y
jdo     jev_tgsj_ 0
jtype   enter
jmid    command
jsid
command fd 20
jdata
jwid
┌───────┬───────────┐
│jdo    │jev_tgsj_ 0│
├───────┼───────────┤
│jtype  │enter      │
├───────┼───────────┤
│jmid   │command    │
├───────┼───────────┤
│jsid   │           │
├───────┼───────────┤
│command│fd 20      │
├───────┼───────────┤
│jdata  │           │
├───────┼───────────┤
│jwid   │           │
└───────┴───────────┘
*** response not sent for tgsj
*** html409 Conflict

It looks like I need something which defines 'State', and I might also need
more step-by-step instructions, so I can get to the point where `(5 repeats
fd) 10` is doing part of what you want it to be doing.

(It should also be possible to define an "eye" turtle, I imagine?)

Thanks,

-- 
Raul



On Sat, Mar 22, 2014 at 1:34 PM, Brian Schott <[email protected]>wrote:

> Raul,
>
> I am not sure console.log's would help me here, but I am willing to insert
> them if I can learn now. Perhaps my reply to Pascal can explain better my
> conundrum. The problem is not that jhs and webgl are surprising me; my
> problem is that I have no idea how to accomplish the multiple command
> feature.
>
> My code can be found at the following link.
>
> http://www.jsoftware.com/jwiki/BrianSchott/code/turtleGraphics/tgsjhs
>
> Don't worry about responding today.
>
> Thank you,
>
> --
> (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