github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/expr/add_with_op_doc.yaml (about)

     1  - DocumentID: add-with
     2    Title: >-
     3      `+=` Add With Operator
     4    CategoryID: parser
     5    Summary: >-
     6      Adds the right hand value to a variable (expression)
     7    Description: |-
     8      The Add With operator takes the value of the variable specified on the left
     9      side of the operator and adds it with the value on the right hand side. Then
    10      it assigns the result back to the variable specified on the left side.
    11  
    12      It is ostensibly just shorthand for `$i = $i + value`.
    13  
    14      This operator is only available in expressions.
    15    Examples: |-
    16      ```
    17      » $i = 3
    18      » $i += 2
    19      » $i
    20      5
    21      ```
    22    Detail: |-
    23      {{ include "gen/includes/expr-strict-types-assignment.inc.md" }}
    24    Related:
    25    - expr
    26    - addition
    27    - subtract-by
    28    - multiply-by
    29    - divide-by
    30    - int
    31    - float
    32    - num
    33    - config
    34    - cast