Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Scripting-Language.md #1368

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/Scripting-Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,8 @@ The script itself is also stored on the file system with a default size of 8192
`#define USE_SCRIPT_FATFS_EXT`
`fmd("fname")` make directory fname
`frd("fname")` remove directory fname
`fra(array fr)` reads array from open file with fr (assumes tab delimited entries)
`fwa(array fr (a))` writes array to open file with fr (writes tab delimited entries and line feed at end) the optional a parameter ommits the linefeed for appending arrays
`fx("fname")` check if file fname exists
`fe("fname")` execute script fname (max 2048 bytes, script must start with the '>' character on the first line)
`lfw("fname" payload limit)` logs a string (payload) to a file (fname) with size limit (limit) paylyoad is added to end of file together with a LF character. if file size is exceeded first line of file is removed.
Expand Down
Loading