Dear all
How can I directly acces the second level of an array.
At the moment I am doing something like this.
$subset=$ini_ar ray["section"];
$number=$subset["number"];
I would like to increment number by 1 without storing the data in a
different variable.
($ini_array["section"])["number"]
Array
(
[section] => Array
(
[number] => 1
)
)
regards
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerisc he Chemie (ICG-I)
Forschungszentr um Juelich
email: R.Bauer@fz-juelich.de
-------------------------------------------------------------------
a IDL library at ForschungsZentr um Juelich
=============== =============== =============== =============== =======
How can I directly acces the second level of an array.
At the moment I am doing something like this.
$subset=$ini_ar ray["section"];
$number=$subset["number"];
I would like to increment number by 1 without storing the data in a
different variable.
($ini_array["section"])["number"]
Array
(
[section] => Array
(
[number] => 1
)
)
regards
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerisc he Chemie (ICG-I)
Forschungszentr um Juelich
email: R.Bauer@fz-juelich.de
-------------------------------------------------------------------
a IDL library at ForschungsZentr um Juelich
=============== =============== =============== =============== =======
Comment