Selaa lähdekoodia

Updates the script command doc min/max int value (#7329)

Aleos 2 vuotta sitten
vanhempi
commit
7d09041018
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      doc/script_commands.txt

+ 3 - 2
doc/script_commands.txt

@@ -431,8 +431,9 @@ hexadecimal value. Notice that 0x10 is equal to 16. Also notice that if you try
 to 'mes 0x10' it will print '16'.
 
 Number values can't exceed the limits of an integer variable: Any number
-greater than INT_MAX (2147483647) or smaller than INT_MIN (-2147483648) will
-be capped to those values and will cause a warning to be reported.
+greater than INT64_MAX (9223372036854775807) or smaller than INT64_MIN
+(-9223372036854775808) will be capped to those values and will cause a warning
+to be reported.
 
 Variables
 ---------