Re: Arrays doubts in KSH

Re: Arrays doubts in KSH

am 29.12.2007 16:34:16 von Bobby.Higgins

set -A x 11 22 33 44 44
echo ${x[3]}

wrote in message
news:b7c2b738-4755-41f1-84e3-e46bcb67942c@b40g2000prf.google groups.com...
> Hi:
>
> How could I make this work in KSH ?
>
>>>x="11 22 33 44 55"
>>>echo x[3]
> 44
>
>>>y=((x[2] + x[4]))
>>> echo $y
>
> 88
>
> Thank You Masters !
>
>