dion 2004/08/21 18:59:59
Modified: jexl/xdocs/reference syntax.xml
Log:
Add array access
Revision Changes Path
1.7 +12 -5 jakarta-commons/jexl/xdocs/reference/syntax.xml
Index: syntax.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/jexl/xdocs/reference/syntax.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- syntax.xml 22 Aug 2004 01:53:44 -0000 1.6
+++ syntax.xml 22 Aug 2004 01:59:59 -0000 1.7
@@ -250,7 +250,7 @@
<td>
The usual <code>+</code> operator is used.
For example
- <source>val1 + val2</source>.
+ <source>val1 + val2</source>
</td>
</tr>
<tr>
@@ -258,7 +258,7 @@
<td>
The usual <code>-</code> operator is used.
For example
- <source>val1 - val2</source>.
+ <source>val1 - val2</source>
</td>
</tr>
<tr>
@@ -266,7 +266,7 @@
<td>
The usual <code>*</code> operator is used.
For example
- <source>val1 * val2</source>.
+ <source>val1 * val2</source>
</td>
</tr>
<tr>
@@ -274,7 +274,7 @@
<td>
The usual <code>/</code> operator is used.
For example
- <source>val1 / val2</source>.
+ <source>val1 / val2</source>
</td>
</tr>
<tr>
@@ -299,7 +299,14 @@
<td>
The unary <code>-</code> operator is used.
For example
- <source>-12</source>.
+ <source>-12</source>
+ </td>
+ </tr>
+ <tr>
+ <td>Array access</td>
+ <td>
+ Array elements may be accessed using either square brackets or a dotted
numeral, e.g.
+ <source>arr1[0]</source> and <source>arr1.0</source> are equivalent
</td>
</tr>
</table>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]