Skip to content

Commit d3dee23

Browse files
authored
variable name size defaults to 4096
1 parent 58af46e commit d3dee23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Scripting-Language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ after initialization the script reports some info in the console e.g:
117117
00:00:00.043 SCR: nv=15, tv=1, vns=83, vmem=895, smem=8192, gmem=588, pmem=0, tmem=9758
118118
nv = number of used variables in total (numeric and strings)
119119
tv = number of used string variables
120-
vns = total size of name strings in bytes (may not exceed 255) or #define SCRIPT_LARGE_VNBUFF extents the size to 4095
120+
vns = total size of name strings in bytes (may not exceed 256) or #define SCRIPT_LARGE_VNBUFF extents the size to 4095 (default)
121121

122122
vmem = used heap ram by the script (psram if available)
123123
smem = used script (text) memory (psram if available)
@@ -198,7 +198,7 @@ therefore when specifing permanent variables, add newly defined ones always at t
198198
array = {x y z} sets 3 values in an array from index array[0]
199199

200200
!!! tip
201-
Keep variable names as short as possible. The length of all variable names taken together may not exceed 256 characters.
201+
Keep variable names as short as possible. The length of all variable names taken together may not exceed 4096 characters.
202202
Memory is dynamically allocated as a result of the D section.
203203
Copying a string to a number or reverse is supported
204204

0 commit comments

Comments
 (0)