You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Scripting-Language.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ To save code space almost no error messages are provided. However it is taken ca
74
74
- String comparison `==`, `!=`
75
75
- String size is 19 characters (default). This can be increased or decreased by the optional parameter on the `D` section definition
76
76
77
-
####Script Interpreter
77
+
### Script Interpreter
78
78
79
79
- Execution is _**strictly sequential**_, _**line by line**_
80
80
- Evaluation is _**left to right**_ with optional brackets
@@ -1075,10 +1075,10 @@ The script itself is also stored on the file system with a default size of 8192
1075
1075
`frb(fr)` read byte from file
1076
1076
`frw(fr url)` read file from web url, if url is an immediate string it may be longer than max string size to support very long URLs.
1077
1077
`fcs(fr "del" index ec)` = gets non string from file: del = delimiter char or string, index = n´th element, ec = end character delimiter.
1078
-
files in filesystem may also be listed or downloaded via http://ip/ufs/filename
1078
+
files in file system may also be listed or downloaded via http://ip/ufs/filename
1079
1079
with http://ip/ufs/$varname(;varname2;...) you may list variables and arrays from scripter in json format.
1080
1080
1081
-
### Other commands (+?? flash)
1081
+
### time series database (+2kB flash)
1082
1082
1083
1083
`#define USE_FEXTRACT`
1084
1084
`fxt(fr ts_from ts_to col_offs accum array1 array2 ... arrayn)` read arrays from csv file from timestamp to timestamp with column offset and accumulate values into arrays1 .. N, assumes csv file with timestamp in 1. column and data values in columns 2 to n.
@@ -1088,7 +1088,7 @@ with http://ip/ufs/$varname(;varname2;...) you may list variables and arrays fro
1088
1088
`tsn(tstamp)` convert timestamp to seconds
1089
1089
`s2t(seconds)` convert seconds to Tasmota timestamp
1090
1090
1091
-
### Extended commands (+0,9k flash)
1091
+
### file system commands (+0,9k flash)
1092
1092
1093
1093
`#define USE_SCRIPT_FATFS_EXT`
1094
1094
`fmt(0)` format flash file system (erases all data)
0 commit comments