[Jprogramming] Programming Digest, Vol 27, Issue 39
Dan Bron
j at bron.us
Thu Dec 20 23:20:53 HKT 2007
I wrote:
> the Dictionary now explicitly states:
> The conjunction !: applies to integer scalar
> left and right arguments to produce verbs,
> with the exception that the case 5!:0 produces
> an adverb.
The link for that quote should have been:
http://www.jsoftware.com/help/dictionary/xmain.htm
And, I guess to add some value to this message. Here's a way to seek
foreigns which do not produce verbs. This phrase checks from 0!:0 to
255!:255 :
($#:I.@:(3 ~: ,))4 :('z=.x!:y';'4!:0<''z''')"0/~i.2^8
3 240
4 120
5 0
12 153
12 154
13 33
13 34
Obviously 5!:0 is no surprise. I can't explain the rest, but I can think
of several possiblities:
* Bugs in !: (possible, but unlikely, given the patterns)
* Holdovers from prehistory (I guess I could check this out in the old
docs)
* Undocumented internal use foreigns (like 15!:6 & friends),
* Undocumented custom foreigns (for customers who need extra
functionality but don't want it in a custom build?)
I am intrigued.
-Dan
--
View this message in context: http://www.nabble.com/Re%3A-Programming-Digest%2C-Vol-27%2C-Issue-39-tp14431754s24193p14438444.html
Sent from the J Programming mailing list archive at Nabble.com.
More information about the Programming
mailing list