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:31] – [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 (" |
- | Read count number | + | Here it's assumed that the input file consists |
- | === ioOutput(URL[, | + | === ioRead |
- | Try to opens '' | + | This mainly for testing purposes. It returns |
- | === ioWrite (String) === | + | |
- | Attaches the string content to the output file | + | \\ |
+ | ==== The Buffer Commands ==== | ||
+ | |||
+ | |||
+ | FIXME this whole Buffer section is not implemented and actual just here as a reference for discussion | ||
Line 302: | Line 303: | ||
- | ==== Miscellaneous | + | ==== WriteString Command Syntax |
+ | As default the command | ||
- | === serDisplayWrite(String) === | + | |
+ | |||
+ | |||
+ | writes //String// to the build in output console. But with an optional secound parameter as command this behavior can be changed: | ||
+ | |||
+ | serDisplayWrite(parameter, | ||
+ | |||
+ | The different commands have the following effects: | ||
+ | |||
+ | ^ parameter | ||
+ | | buffername | ||
+ | | - | clear | clears actual buffer content | | ||
+ | | - | clearall | ||
+ | | filename | ||
+ | | filename | ||
+ | | filename | ||
+ | | filename | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Miscellaneous | ||
- | Writes //String// to the build in output console. | ||
=== dbLookup(db-File , searchstring) === | === dbLookup(db-File , searchstring) === | ||
doc/lua_make-your-own-scripts.txt · Last modified: 2019/04/08 18:43 by admin