HBS=: 0 : 0 jhh1'Rock Paper Scissors' ('rollJoan' jhb'Joan') text 'rollBrian' jhb'Brian' )
Just a quick look. The above doesn't look quite right. There should not be parens around the joan line. Let me know if this doesn't help and I will look more closely. When puzzled by quote types it can sometimes help to copy them and display them in a text window. On Sat, Dec 5, 2020 at 7:13 PM Brian Schott <schott.br...@gmail.com> wrote: > My jhs app, which is patterned after demo1, > produces the following Alert when launched. > > SyntaxError: invalid or unexpected token > ''; > z= '' > > (Either of those ''s could be "s, I can't tell). > > But when I click on the OK button I see an h1 title on one line > and then on the next line I see a button named Joan, a 0, and a button > named Brian > > When I click on either button I get one of the following Alerts. > > not defined function ev_rollJoan_click() > not defined function ev_rollBrian_click() > > > Attached is the script. > Any ideas? > > -- > (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