Didn't study your message carefully, but here is a quick response.

You are not intended to run jd3.jhs. It is run by JHS as required.

See jhelp description of jd3 plots.

In a JHS seesion, try:
   jd3'p1';jd3x,jd3line,jd3data ?3 4$100


On Mon, Jan 27, 2014 at 12:43 PM, Brian Schott <[email protected]> wrote:
> In jhs j7, from jfile, first I selected ~addons/ide/jhs/jd3.ijs .
> Second, I clicked on action|run in the menu.
> Third, I opened an new tab in the browser and entered
> http://127.0.0.1:65001/jd3
>
> Pressing enter, I get the following message in the browser window.
>
> J D3 error - ajax failed: bad argument
>
>
> In jd3.ijs I see the following function ajax(), which seems to have printed
> the error message. Any ideas?
>
>
> function ajax(ts)
>
> {
>
>  if(0!=(ts[0].length)){seterr("ajax failed: "+ts[0]); return;}
>
>  var s= ts[1].split('\n');
>
>  for(var i=0;i<s.length;++i)
>
>  {
>
>   try{eval(s[i]);}catch(e)
>
>   {
>
>    seterr("eval failed:<br>"+s[i]);
>
>   }
>
>  }
>
>  common1();
>
>  plot();
>
>  window.onresize= plot; // now we can resize
>
> }
>
>
> --
> (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