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 revision | ||
| doc:lua_make-your-own-scripts [2015/12/06 11:23] – admin | doc:lua_make-your-own-scripts [2019/04/08 18:43] (current) – [The IO Commands] admin | ||
|---|---|---|---|
| Line 192: | Line 192: | ||
| - | ^ filename | + | ^ filename |
| |/ | |/ | ||
| - | |/ | + | |/ |
| |URL like '' | |URL like '' | ||
| - | |URL like '' | + | |URL like '' |
| - | === ioRead(" | + | After opening the file with IOInput(), it can be read with ioRead() |
| + | === ioRead(" | ||
| - | Read one line of the input file ending with either %%\%%r%%\%%n or %%\%%n as string without the EOL. In case of input EOF or read errors the function returns nil. By this the whole file can be read line per line | ||
| - | + | Read one line of the input file ending with either< | |
| - | === ioRead (" | + | === ioRead ("%%*%%all") === |
| Read the whole file as string | Read the whole file as string | ||
| - | === ioRead (" | + | |
| + | === ioRead ("%%*%%json") === | ||
| Line 216: | Line 217: | ||
| - | === ioRead (" | + | === ioRead ("%%*%%sha256" |
| Line 222: | Line 223: | ||
| + | \\ | ||
| ==== The Buffer Commands ==== | ==== The Buffer Commands ==== | ||
doc/lua_make-your-own-scripts.1449397411.txt.gz · Last modified: 2015/12/06 11:23 by admin
