Once you have loaded Tools.ijs by either means, type:
Tools NB. To see a list of what is available
Several areas are worth exploring:
Programmers familiar with other languages, may choose to begin with the strings collection, listed at the bottom of Tools
Programmers familiar with APL, may wish to explore modifying things from the session and then:
fun=. verb Del NB. After copying code from the screen
now=. noun Del NB. After copying text from the screen
Sorting in dictionary order is something that APL programmers will be familiar with, but just about anyone will benefit from a more intuitive sequence.
This is especially true if you've ever seen a list of things like:
a1 a12 a2 a23
a1 a2 a12 a23
Sort ;:'a1 a12 a2 a23'
If you like experimenting in a session, but don't always wish to type file names in quotes, use:
Dr '' NB. Any path will work
See that it displays folders and files. Also notice its companion appears:
'pathGivenDr' Rn View NB. Copy a name and enter this line
If you write code or paragraphs of documentation, consider using
'oldFile.c' Diff 1 'newFile.c'
to identify lines which are missing in each version. While not as thorough as a Unix diff, if you move code or paragraphs around the results can be a lot less cluttered and easier to notice important differences.
If you are an experienced J programmer, who wants to produce reports with tables including International characters, try:
Display (,.'£'; '☮'; '¥'),. <"1[ 7j2": 100%~ 3 2?@$ 100000
A few of these tools remember the last request which can be invoked again with an empty argument, e.g. ''
Load, Run, Copy NB. Fetch code files for different purposes
Code, Note, Edit NB. View or edit an extension specific file
The conjunction Last lets you do something different with the file name that some verbs remember, for example:
Code Last Load
Run Last Code
Please send feedback or questions to: