Um. This is the best explanation yet. I though me something. :)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of david alis
Sent: Thursday, August 07, 2008 12:50 PM
To: Programming forum
Subject: Re: [Jprogramming] learning: Having trouble writing loopless
scripts
The " and / primitives are rather important.
This might help understand how they work.
F=.<@;
'left' F 'right'
+------------+
|+----+-----+|
||left|right||
|+----+-----+|
+------------+
1 2 3 (F"0 _)/ 40 50 60 70 80
+------------------+------------------+------------------+
|+-+--------------+|+-+--------------+|+-+--------------+|
||1|40 50 60 70 80|||2|40 50 60 70 80|||3|40 50 60 70 80||
|+-+--------------+|+-+--------------+|+-+--------------+|
+------------------+------------------+------------------+
1 2 3 (F"0 0)/ 40 50 60 70 80
+------+------+------+------+------+
|+-+--+|+-+--+|+-+--+|+-+--+|+-+--+|
||1|40|||1|50|||1|60|||1|70|||1|80||
|+-+--+|+-+--+|+-+--+|+-+--+|+-+--+|
+------+------+------+------+------+
|+-+--+|+-+--+|+-+--+|+-+--+|+-+--+|
||2|40|||2|50|||2|60|||2|70|||2|80||
|+-+--+|+-+--+|+-+--+|+-+--+|+-+--+|
+------+------+------+------+------+
|+-+--+|+-+--+|+-+--+|+-+--+|+-+--+|
||3|40|||3|50|||3|60|||3|70|||3|80||
|+-+--+|+-+--+|+-+--+|+-+--+|+-+--+|
+------+------+------+------+------+
1 2 3 (F"_ 0)/ 40 50 60 70 80
+----------+----------+----------+----------+----------+
|+-----+--+|+-----+--+|+-----+--+|+-----+--+|+-----+--+|
||1 2 3|40|||1 2 3|50|||1 2 3|60|||1 2 3|70|||1 2 3|80||
|+-----+--+|+-----+--+|+-----+--+|+-----+--+|+-----+--+|
+----------+----------+----------+----------+----------+
1 2 3 (F"_ _)/ 40 50 60 70 80
+----------------------+
|+-----+--------------+|
||1 2 3|40 50 60 70 80||
|+-----+--------------+|
+----------------------+
1 2 3 (F)/ 40 50 60 70 80
+----------------------+
|+-----+--------------+|
||1 2 3|40 50 60 70 80||
|+-----+--------------+|
+----------------------+
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm