Skip to content

Commit 9dbb44f

Browse files
authored
Merge pull request #1501 from ottelo9/patch-1
Update Scripting-Language.md
2 parents a8909f7 + 9dcb1f2 commit 9dbb44f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/Scripting-Language.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ if the script init fails an error code is reported:
134134
number of variables is only limited by RAM. you will probably get a memory error when you define to many variables.
135135
you may increase the number of allowed array and the maximum string size defines in user_config_override
136136
defaults and override defines:
137-
Number of filters (arrays) = 5 (override #define MAXFILT)
138-
Max string size = 20 (increase with >D size up to default default 48) (override #define SCRIPT_MAXSSIZE)
137+
Number of filters (arrays) = 10 (override #define MAXFILT)
138+
Max string size = 20 (increase with >D n, n up to SCRIPT_MAXSSIZE, default 255) (override #define SCRIPT_MAXSSIZE)
139139

140140

141141

@@ -188,7 +188,7 @@ therefore when specifing permanent variables, add newly defined ones always at t
188188
specifies a median filter variable with 5 entries (for elimination of outliers)
189189
`M:vname`
190190
specifies a moving average filter variable with 8 entries (for smoothing data, should be also used to define arrays)
191-
(max 5 filters in total m+M) optional another filter length (1..127) can be given after the definition.
191+
(max 10 filters in total m+M) optional another filter length (1..127) can be given after the definition.
192192
Filter vars can be accessed also in indexed mode `vname[x]` (x = `1..N`, x = `0` returns current array index pointer (may be set also), x = `-1` returns array length, x = `-2` returns array average,x = `-3` returns array sum)
193193
Using this filter, vars can be used as arrays, #define LARGE_ARRAYS allows for arrays up to 1000 entries
194194
array may also be permanent by specifying an extra `:p`

0 commit comments

Comments
 (0)