Input handles
|
|||
| Frees a handle. Once closed, a handle can no longer be used. | |||
| Syntax | Handle.close() | ||
| Returns | nil | ||
| Part of | CC:Tweaked | ||
| API | handle | ||
Handle.read
|
|||||||||||
| Returns the full text of a file. | |||||||||||
| Syntax | handle.readAll() | ||||||||||
| Returns | string Text | ||||||||||
| Part of | CC:Tweaked | ||||||||||
| API | fs | ||||||||||
| |||||||||||
Handle.readLine
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.