joining arrays



On 12/26/06, pol <linux_milano at yahoo.it> wrote:

> How to fill the array k[-1,-2,-3,1,2,3] with values from the two arrays:
> kl[-1,-2,-3]  and kr[1,2,3]  ?  k[0] should be kept unassigned.

kl : [-1, -2, -3];
kr : [1, 2, 3];
k : append (kl, kr);
 => [- 1, - 2, - 3, 1, 2, 3]

Hope this helps,
Robert Dodier