Raul,
First off, in my initial post I got it backwards. Instead of option (b), I
want file (a).
I can confirm your observation that file (a) does run because
HBS_canvasdemo_ does not produce a value error after I have run (a), just
as you suggested that HBS_jdemo_ exists after selecting studio-->demos.
HBS_canvasdemo_
jhh1'Canvas test'
'<canvas id="myCanvas" width="500" height="500"> </canvas>'
NB. 'roll' jhb'rollem'
'<RESULT>'
NB. desc
NB. jhdemo''
So I am further along in attempting to run file (a), but I am still unable
to produce the standalone version of the "rollem" demo that appears in the
text of HBS_canvasdemo_ shown just above. To attempt to accomplish that I
typed the following into the jijx window.
create_canvasdemo_ >:6?49
To which I get an alert with an Ok button which says the following.
*********alert below*********
The page at 127.0.0.1:65001 says:
SyntaxError: Unexpected token ILLEGAL
";
z= "
OK
*********alert above*********
After I click the OK button I see in bold
Canvas test
and I see 6 random numbers. By removing NB.'s from the remaining lines in
HBS_canvasdemo_ I get a button labeled "rollem", for example. But I still
get the browser error alert above.
When I look at the html source for jijx I see the following beginning at
line #766. Notice near the end, the line begins with 'z= "' and the
previous line ends with '";' .
// eval js sentences in s// a is true in ajax and false in refreshfunction
jseval(ajax,s){ var i,j,a,z,q; a= "<!-- j html output a --><!-- j js a
--><!-- ";
z= " --><!-- j js z --><!-- j html output z -->"; while(0!=s.length)
It seems awkward to start this session with the "create_canvasdemo_ ...".
Is that what I am doing wrong, or is there some other problem?
Thanks, again, Raul and Bill,
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm