Great, thanks everyone for the explanation. Now I see how to fix it and why it's wrong. I appreciate it. My bad for being on the wrong forum, Raul, I'll check out the other ones!
Thanks, On Wed, Mar 25, 2015 at 5:15 AM, Devon McCormick <[email protected]> wrote: > Generally, "noun noun" is an error but this can be confusing because > 2 2 > looks like this but isn't: "2 2" is one noun. So, this > (2 2) (2 2) > gives a syntax error because it's a pair of nouns separated by a space, > whereas this > 2 2 2 2 > is fine because it's one noun. > > On Wed, Mar 25, 2015 at 6:39 AM, Raul Miller <[email protected]> > wrote: > > > P.S. If you are working your way through the Learning J book, I > > imagine you were on chapter 2, and the material you needed was part > > way through chapter 5. > > > > http://www.jsoftware.com/help/learning/contents.htm#toc > > > > Anyways, there's a lot of different concepts your thoughts can connect > > to, And it'll always feel way-too-simple after you get it. That's > > pretty normal. > > > > Thanks, > > > > -- > > Raul > > > > On Wed, Mar 25, 2015 at 5:17 AM, Maxwell Peterson > > <[email protected]> wrote: > > > Hi all, > > > > > > I'm having a problem where this works: > > > 4 2 $ 1 2 3 4 5 6 7 8 > > > but this does not: > > > rows =: 4 > > > rows 2 $ 1 2 3 4 5 6 7 8 > > > > > > In the latter case, I get a syntax error. > > > > > > Is this expected behavior? If not, could you let me know what I'm doing > > > wrong? > > > > > > Thanks, > > > -- > > > Maxwell Peterson > > > Department of Genome Sciences > > > University of Washington, Seattle > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Devon McCormick, CFA > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Maxwell Peterson Department of Genome Sciences University of Washington, Seattle ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
