On 2009.08.27 11:24:17, you,
the extraordinary Matthew Brand, emitted:
> If I have a boxed entity, say:
>
> (<i.10);<(<i.3)
> +---------------------+-------+
> |+-------------------+|+-----+|
> ||0 1 2 3 4 5 6 7 8 9|||0 1 2||
> |+-------------------+|+-----+|
> +---------------------+-------+
>
> How do I specify the index for amend?
> e.g.,
> 99 (index)}(<i.10);<(<i.3)
>
> should result in:
> (<i.10);<(<0 99 2)
I had the thought that L: should help, as in this example:
thing
+---------------------+-------+
|+-------------------+|+-----+|
||0 1 2 3 4 5 6 7 8 9|||0 1 2||
|+-------------------+|+-----+|
+---------------------+-------+
(99) (1 } L: 0) thing
+----------------------+--------+
|+--------------------+|+------+|
||0 99 2 3 4 5 6 7 8 9|||0 99 2||
|+--------------------+|+------+|
+----------------------+--------+
or:
(1 ;99) (1 } L: 0) thing
+---------------------+--------+
|+-------------------+|+------+|
||0 1 2 3 4 5 6 7 8 9|||0 99 2||
|+-------------------+|+------+|
+---------------------+--------+
But I don't see exactly how to come up with something
that simply changes 1{thing.
--
Nollaig MacKenzie
http://www.amhuinnsuidhe.net
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm