Browse Source

Merge pull request #5314 from zacryol/format-string-precedence

Add Format String to operator/precedence list
Max Hilbrunner 3 years ago
parent
commit
514feca2b9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 3 - 1
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -240,7 +240,9 @@ The following is the list of supported operators and their precedence.
 |                                                                        | as C++. Integer division is truncated   |
 |                                                                        | rather than returning a fractional      |
 |                                                                        | number, and the % operator is only      |
-|                                                                        | available for ints ("fmod" for floats)  |
+|                                                                        | available for ints ("fmod" for floats), |
+|                                                                        | and is additionally used for Format     |
+|                                                                        | Strings                                 |
 +------------------------------------------------------------------------+-----------------------------------------+
 | ``+``                                                                  | Addition / Concatenation of arrays      |
 +------------------------------------------------------------------------+-----------------------------------------+