I don't get it. Below I have removed '> ' from the front of two of your lines. First I enter dice in my jijx window and get a value error. Next I copy your second exposed line below and paste it at the blinking cursor in my jijx window. Then I type dice =: at the beginning of the pasted line and press Enter. Finally I type dice at the blinking cursor and press Enter. Here is the result
dice |value error: dice dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2(#:i.6){' o' dice +---+---+---+---+---+---+ | |o |o |o o|o o|o o| | o | | o | | o |o o| | | o| o|o o|o o|o o| +---+---+---+---+---+---+ There should be no word wrap in the display above. There were no errors, everything worked as expected. So I cannot understand what happened to you. My JVERSION is JVERSION Engine: j701/2011-01-10/11:25 Library: 7.01.050 Platform: Win 32 Installer: j701a_win.exe InstallPath: c:/users/kip murray/j701 and yes this is J701 jhs. On 12/2/2011 1:01 PM, Linda Alvord wrote: > This looks like it should work. > HERE ARE YOUR TWO "EXPOSED" LINES: dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2(#:i.6){' o' > |spelling error > | dice =: > (6 6 6#:12 145 157 185 197 215)<@:{"1 2(#:i.6){' o' > | ^ > > Not nice. Linda > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of Kip Murray > Sent: Friday, December 02, 2011 9:41 AM > To: Programming forum > Subject: Re: [Jprogramming] Turkey Roll - Challenge 2 Rich Text > > I believe it is a subtle display/editing error. When you copy > > >> toss =: (dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2 (#:i.6){' > >> o') {~ 2 10 ?@$ 6: > > and edit out the backspace and>>'s you must leave a space in front of > the o so that you see ' o' not 'o' . Beware of line wrap above and below. > > toss =: (dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2 (#:i.6){' o') > {~ 2 10 ?@$ 6: > toss'' > +---+---+---+---+---+---+---+---+---+---+ > |o |o |o o|o |o o|o |o |o o|o |o | > | | | | | o | | | o | | | > | o| o|o o| o|o o| o| o|o o| o| o| > +---+---+---+---+---+---+---+---+---+---+ > |o o|o | | |o o| |o |o |o |o | > |o o| | o | o | o | o | o | | | | > |o o| o| | |o o| | o| o| o| o| > +---+---+---+---+---+---+---+---+---+---+ > > On 12/2/2011 5:25 AM, Linda Alvord wrote: >> I'm still stuck with getting this to run in j701jhs . At least I can get >> the whole line to run before it gives an error: >> >> dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2 (#:i.6){'o') {~ 2 10 > ?@$ >> 6: >> |spelling error >> | toss =: >> (dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2 (#:i.6){'o') {~ 2 10 ?@$ > 6: >> | ^ >> >> Linda >> >> >> -----Original Message----- >> From: programming-boun...@jsoftware.com >> [mailto:programming-boun...@jsoftware.com] On Behalf Of Kip Murray >> Sent: Friday, December 02, 2011 2:39 AM >> To: Programming forum >> Subject: Re: [Jprogramming] Turkey Roll - Challenge 2 Rich Text >> >> I'll try not to hurt you, Henry. While you are not looking I'll replace >> <@:{ by ([:< {) and ?@$ by ([: ? $) . It works! A truly remarkable >> one-liner. Greetings from Kip >> >> On 12/1/2011 6:00 PM, Henry Rich wrote: >>> toss =: (dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2 (#:i.6){' >>> o') {~ 2 10 ?@$ 6: >>> toss'' >>> +---+---+---+---+---+---+---+---+---+---+ >>> |o o|o o|o |o o|o o|o |o | |o o|o o| >>> | | o | |o o| o | o | | o | | | >>> |o o|o o| o|o o|o o| o| o| |o o|o o| >>> +---+---+---+---+---+---+---+---+---+---+ >>> |o o|o |o o|o |o |o o|o |o o| |o o| >>> |o o| o |o o| o | |o o| |o o| o |o o| >>> |o o| o|o o| o| o|o o| o|o o| |o o| >>> +---+---+---+---+---+---+---+---+---+---+ >>> >>> Henry Rich, whose @ will be pried from his cold dead fingers >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm