Ben had a different solution, so I check them both out. Thanks. Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marc Simpson Sent: Friday, September 19, 2014 3:42 AM To: [email protected] Cc: Flo & Brook Cuddy Subject: Re: [Jbeta] Looking for way to use reserved words
Hi Linda, A couple of things: 0. These definitions aren't "reserved" (i.e., you're free to redefine them) 1. The best resource is http://www.jsoftware.com/help/user/library.htm which documents the J8 standard library Hope that helps; Best, Marc On Fri, Sep 19, 2014 at 8:34 AM, Linda Alvord <[email protected]> wrote: > There is probably an easy fix for this: > > I make a table I want: > > 1 2 3 4 5 6 7 8 9 10 +/ 1 2 3 4 5 6 7 8 9 10 > 2 3 4 5 6 7 8 9 10 11 > 3 4 5 6 7 8 9 10 11 12 > 4 5 6 7 8 9 10 11 12 13 > 5 6 7 8 9 10 11 12 13 14 > 6 7 8 9 10 11 12 13 14 15 > 7 8 9 10 11 12 13 14 15 16 > 8 9 10 11 12 13 14 15 16 17 > 9 10 11 12 13 14 15 16 17 18 > 10 11 12 13 14 15 16 17 18 19 > 11 12 13 14 15 16 17 18 19 20 > > > Maybe it would be better with labels. I actually can do that rather > simply, > but maybe there is a better way. So I look in locale z and find it. > > names_z_ '' > (many words display) > > I enter the word: > > table > 1 : (':'; '(((#~LF-.@e.])5!:5<''u'');,.y),.({.;}.)":x,y u/x')~ > > Since my first few times trying to make it create my table fail, I head for > NuVOc and enter "reserved words" It is not understood. I try "z locale" > and am successful. > > To find out how to create my table I get to page and sub category: > > "Factory words": the z-locale and its contents > Where can I read details of a given word in the z-locale? > (4!:3'') {~ 4!:4 <'table' > -------------------------------------------┐ > │C:\Users\Owner\j803\system\main\stdlib.ijs│ > L------------------------------------------- > After getting this I take the next suggestion. > load 'stdlib' > not found: C:\Users\Owner\j803\bin/stdlib > |file name error: script > | 0!:0 y[4!:55<'y' > > Maybe this will work better: > > load 'C:\Users\Owner\j803\system\main\stdlib.ijs' > > table > 1 : (':'; '(((#~LF-.@e.])5!:5<''u'');,.y),.({.;}.)":x,y u/x')~ > > open (4!:3'') {~ 4!:4 <'table' > |domain error: jpathsep > | nam=. jpathsep y > > Maybe I just don't know where open is:.. > > Is there some place that explains how to use the words in the z locale? > > Linda > ---------------------------------------------------------------------- > 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
