Skip to content
Myr

[svn] Add modulo division to the list of supported operators.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Georg Brandl · committed by Georg Brandl · parent 72ae448 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:docs/src/designerdoc.txt+2 added
369 unmodified lines
370 ``*`` multiply the left operand with the right one.371 ``{{ 2 * 2 }}`` would return ``4``.372 ``**`` raise the left operand to the power of the right373 operand. ``{{ 2**3 }}`` would return ``8``.374 ``%`` calculate the remainder of an integer division between the375 left and right operand: ``{{ 11 % 7 }}`` is ``4``.376 ``in`` perform sequence membership test. ``{{ 1 in [1,2,3] }}`` would377 return true.378 ``is`` perform a test on the value. See the section about379 tests for more information.
493 unmodified lines