File.streamout
From OpenEUO
Revision as of 15:20, 18 December 2010 by Ximan (Talk | contribs) (Created page with "== Calling Pattern == Call local f = sl.file(a,b) local r = f.streamout(c) Argument c is a string Results r is a string == Description == The streamout method writes the...")
Calling Pattern
Call
local f = sl.file(a,b)
local r = f.streamout(c)
Argument
c is a string
Results
r is a string
Description
The streamout method writes the raw (binary) contents of a string from the current cursor position to the file and updates the current position.
Upon Error
Streamout returns false if the file handling object is finalized or the underlying file is otherwise unopened, opened in read mode, or if structured data has been written to the file. Any other error will be handled according to the operant error redirection mode.