On 2 July 2012 09:59, phoe san wrote:
> Dear friends,
>
> What is different between these two array method.
>
> First Array Method
>
> arr = ps_array["1"]
What is the type of ps_array["1"]
Colin
> arr += ps_array["2"]
> arr += ps_array["3"]
>
>
> Second Array Method
>
>
Dear friends,
What is different between these two array method.
First Array Method
arr = ps_array["1"]
arr += ps_array["2"]
arr += ps_array["3"]
Second Array Method
arr = [ps_array["1"],ps_array["2"],ps_array["3"]]
yours,
phoesan
--
Posted via http://www.ruby-f
2 matches
Mail list logo