From 04b9efa676f6e5f01e1c1d0a7f04af27187ff76b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 11 Apr 2007 15:56:21 +0200 Subject: [PATCH] [svn] Add modulo division to the list of supported operators. --HG-- branch : trunk --- docs/src/designerdoc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/designerdoc.txt b/docs/src/designerdoc.txt index a705e68..339c058 100644 --- a/docs/src/designerdoc.txt +++ b/docs/src/designerdoc.txt @@ -371,6 +371,8 @@ can use expressions. In expressions you can use any of the following operators: ``{{ 2 * 2 }}`` would return ``4``. ``**`` raise the left operand to the power of the right operand. ``{{ 2**3 }}`` would return ``8``. + ``%`` calculate the remainder of an integer division between the + left and right operand: ``{{ 11 % 7 }}`` is ``4``. ``in`` perform sequence membership test. ``{{ 1 in [1,2,3] }}`` would return true. ``is`` perform a test on the value. See the section about -- 2.26.2