When the jdemo1a page is first loaded the jev_get verb is called which in turn calls create. But you have modified create to require an argument with 2 elements.
I haven't tested but you need to do something like: jev_get=: 3 : 0 create 'first';'second' ) On Wed, Jan 19, 2011 at 10:02 PM, William Szuch <[email protected]>wrote: > Running the following modification to jdemo1 to get two results gives the > error: > > > > > > coclass'jdemo1a' > > coinsert'jhs' > > > > HBS=: 0 : 0 > > jhh1'Roll with submit' > > 'roll' jhb'rollem' > > jhhr > > '<RESULT>' > > jhhr > > '<RES>' > > ) > > > > create=: 3 : 0 > > 'jdemo1a'jhr'RESULT RES';y > > ) > > > > jev_get=: create > > > > ev_roll_click=: 3 : 0 > > R1 =. >:10?49 > > R2 =. 3?20 > > create R1;R2 > > ) > > > > > > JS=: 0 : 0 > > function ev_roll_click(){jsubmit();} > > ) > > > > ------------------------------------ > > > > |length error: hrplc > | x rplc('<',each(;:>{.y),each'>') ,.":each}.y > > *** response not sent for jdemo1a > > *** html409 Conflict > > > > ----------------------------------------- > > Regards > > > Bill Szuch > ----------------------------------------- > WSA Financial Consulting Pty Ltd > Actuaries & Financial Risk Consultants > 54 Osborne Street > WILLIAMSTOWN VIC 3016 > AUSTRALIA > Principal: William Szuch > Phone: +61 3 9397 0489 > Fax: +61 3 9397 1336 > Email: [email protected] > ----------------------------------------- > IMPORTANT NOTE TO RECIPIENT: > If you have received this transmission in error, please let us know by > telephone (+61 3 9397 0489) or by reply email to the sender. Please > destroy > the original transmission. > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
