Well, 

   load
3 : 0
0 load y
:
fls=. getscripts_j_ y
fn=. ('script',x#'d')~
for_fl. fls do.
if. Displayload_j_ do. smoutput > fl end.
if. -. fexist fl do.
smoutput 'not found: ',>fl
end.
fn fl
Loaded_j_=: ~. Loaded_j_,fl
end.
empty''
)
  require
3 : 0
fls=. Loaded_j_ -.~ getscripts_j_ y
if. # fls do. load fls else. empty'' end.
)

we see require is pretty easy to understand.

there are some global nouns:

   Displayload_j_
0

 list  Loaded_j_
/Applications/j64-801/system/util/scripts.ijs 
/Applications/j64-801/system/main/regex.ijs 
/Applications/j64-801/system/main/task.ijs 
/Applications/j64-801/system/util/configure.ijs
....

and these probably explain most of it clearly.

A bit mysterious id dyadic load:

fn=. ('script',x#'d')~     

getscripts_j_ is a long definition, and not clear to me.  If I were to guess at 
the dyadic definition, there is a facility to load 'd'ebug versions of a script 
(???), by 1&load or 2&load   


----- Original Message -----
From: glts <[email protected]>
To: [email protected]
Cc: 
Sent: Sunday, March 16, 2014 9:09:10 AM
Subject: [Jgeneral] List of all standard library definitions?

Folks,

I've been studying the standard library at

http://www.jsoftware.com/help/user/library.htm

I found that 'load', 'require', and a couple of other names are
available but are not in the standard library documentation. Is there an
authoritative list of all names present by default in the z locale?

I am using j64-801 on Mac OS X 10.9.2. I'm a beginner.


-- 
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to