Thanks,
I actually noticed that after sending my question. Must be a cosmic
coincidence.
Regards.
> Date: Wed, 9 Jul 2014 15:33:04 +0100
> From: earthspo...@gmail.com
> To: programm...@jsoftware.com
> Subject: Re: [Jprogramming] Modifying single element of List or Table
>
> @
"'Pascal Jasmin' via Programming"
> Sent: July 9, 2014 11:52 AM
> To: programm...@jsoftware.com
> Subject: Re: [Jprogramming] Modifying single element of List or Table
>
>(<'fish') 2} ;: 'cat dog fiosh cow monkey'
> ┌───┬───┬┬───┬───
uot;programm...@jsoftware.com"
Sent: Tuesday, July 8, 2014 10:31:03 PM
Subject: [Jprogramming] Modifying single element of List or Table
I want to modify an element of a list, leaving other elements unchanged.
e.g.
list =. ;: 'cat dog fiosh cow monkey'
list
┌───┬───┬─┬─
Sent: Tuesday, July 8, 2014 10:31:03 PM
Subject: [Jprogramming] Modifying single element of List or Table
I want to modify an element of a list, leaving other elements unchanged.
e.g.
list =. ;: 'cat dog fiosh cow monkey'
list
┌───┬───┬─┬───┬──┐
│cat│dog│fiosh│cow│
]arr =. 3 1 4 1 7 9 2 6 5
3 1 4 1 7 9 2 6 5
5 (<4) } arr
3 1 4 1 5 9 2 6 5
On Tuesday, July 8, 2014, Jon Hough wrote:
>
> I want to modify an element of a list, leaving other elements unchanged.
>
> e.g.
>
>
>
>list =. ;: 'cat dog fiosh cow monkey'
>
>
> list
>
>
> ┌───┬───┬─┬───
I want to modify an element of a list, leaving other elements unchanged.
e.g.
list =. ;: 'cat dog fiosh cow monkey'
list
┌───┬───┬─┬───┬──┐
│cat│dog│fiosh│cow│monkey│
└───┴───┴─┴───┴──┘
I want to change 'fiosh' to 'fish', e.g. change a spelling mistake. It wou