doc:lua_make-your-own-scripts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:lua_make-your-own-scripts [2015/11/15 13:49] – [Miscellaneous Commands] admin | doc:lua_make-your-own-scripts [2019/04/08 18:40] – [The IO Commands] admin | ||
---|---|---|---|
Line 136: | Line 136: | ||
- | ==== The Communication | + | ==== The Communication Commands ==== |
Line 192: | Line 192: | ||
- | ^ filename | + | ^ filename |
- | |/ | + | |/ |
- | |/ | + | |/ |
- | |URL like '' | + | |URL like '' |
- | |URL like '' | + | |URL like '' |
Line 202: | Line 202: | ||
- | Read one line of the input file ending with either | + | Read one line of the input file ending with either< |
- | + | ||
=== ioRead (" | === ioRead (" | ||
Line 211: | Line 209: | ||
- | === ioRead (count) === | + | === ioRead (" |
+ | |||
+ | |||
+ | Here it's assumed that the input file consists of a JSON string containing data. This string is translated into a lua table structure and returned | ||
- | Read count number of bytes as string | + | === ioRead (" |
- | === ioOutput(URL[, | + | This mainly for testing purposes. It returns the sha256 checksum of that file |
- | Try to opens '' | + | \\ |
- | === ioWrite (String) === | + | |
+ | ==== The Buffer Commands ==== | ||
- | Attaches the string content to the output file | ||
+ | FIXME this whole Buffer section is not implemented and actual just here as a reference for discussion | ||
doc/lua_make-your-own-scripts.txt · Last modified: 2019/04/08 18:43 by admin