Are you looking for http://www.jsoftware.com/docs/help602/user/script_stdlib.htm ?
table is cool: (+ table)~1+i.10 ┌──┬─────────────────────────────┐ │+ │ 1 2 3 4 5 6 7 8 9 10│ ├──┼─────────────────────────────┤ │ 1│ 2 3 4 5 6 7 8 9 10 11│ │ 2│ 3 4 5 6 7 8 9 10 11 12│ │ 3│ 4 5 6 7 8 9 10 11 12 13│ │ 4│ 5 6 7 8 9 10 11 12 13 14│ │ 5│ 6 7 8 9 10 11 12 13 14 15│ │ 6│ 7 8 9 10 11 12 13 14 15 16│ │ 7│ 8 9 10 11 12 13 14 15 16 17│ │ 8│ 9 10 11 12 13 14 15 16 17 18│ │ 9│10 11 12 13 14 15 16 17 18 19│ │10│11 12 13 14 15 16 17 18 19 20│ └──┴─────────────────────────────┘ ________________________________________ From: [email protected] [[email protected]] on behalf of Linda Alvord [[email protected]] Sent: Friday, September 19, 2014 09:34 To: [email protected]; Flo & Brook Cuddy Subject: [Jbeta] Looking for way to use reserved words 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
