diff options
author | ddomingo <ddomingo@redhat.com> | 2008-12-09 15:14:40 +1000 |
---|---|---|
committer | ddomingo <ddomingo@redhat.com> | 2008-12-09 15:14:40 +1000 |
commit | f02d561e798f1c599c4c622983946a6e6fb53395 (patch) | |
tree | 4e879c2c0ebe8bdf854aa683a1c9bb495feed2bf /doc/SystemTap_Beginners_Guide/en-US/Arrays.xml | |
parent | b866b7adfac0649db534a98b723b13692c1da4d9 (diff) | |
download | systemtap-steved-f02d561e798f1c599c4c622983946a6e6fb53395.tar.gz systemtap-steved-f02d561e798f1c599c4c622983946a6e6fb53395.tar.xz systemtap-steved-f02d561e798f1c599c4c622983946a6e6fb53395.zip |
revised discussion on multiple index expressions
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US/Arrays.xml')
-rw-r--r-- | doc/SystemTap_Beginners_Guide/en-US/Arrays.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml b/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml index 36423fb4..04e34de3 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Arrays.xml @@ -158,13 +158,13 @@ foo["dick"] = 24 foo["harry"] = 25 </screen> </example> - +<!-- <para>You can specify up to 5 index expressons in an array statement, each one delimited by a comma (<command>,</command>). This is useful if you wish to perform the same operation to a set of key pairs. For example, to increase the associated value of all the key pairs defined by <xref linkend="arraysimplestexample"/>, you can use the following statement:</para> <screen> foo["tom","dick","harry"] ++ </screen> - +--> <important> <title>Important</title> <para>All associate arrays must be declared as <command>global</command>, regardless of whether the associate array is used in one or multiple probes. </para> |