Jeff.Mosmann wrote:
I have been trying to find documentation on two items, without success.
The first item concerns the use of the following form of explicit definition
to elicit immediate execution of a (possibly non-assigned) verb on loading a
script, as found in jijs.ijs:
3 : 0''
...
)
This may be passed only by oral tradition, the verb is anonymous, cf. this
should be more obvious,
(3 : 'y,y') 'abc'
abcabc
The second item concerns the foreign conjunctions 0!:100 and 0!:101, also
found in jijs.ijs.
in .... /j602/help/dictionary/dx000.htm
Scripts 0!:
0!:k y The script y is executed according to the digits (zero or one) in the
3-digit decimal representation of k :
1st digit 2nd digit 3rd digit
0 From file or noun Stop on error Silent
1 From noun Continue on error Display
For example, 0!:111 abc executes the noun abc, completes, and displays.
eg, 100 1st digit is 1 ; 2nd digit is 0 ; 3rd digit is 0
regards,
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm