Gentee Programming Language > Documentation > Libraries | Download documentation |
Writing data to a file.
uint buf.write( str filename )
filename The name of the file for writing. If the file already exists, it will be overwritten.
uint buf.write( uint handle )
handle File identifier.
uint buf.write( uint handle, uint pos, uint off, uint size )
handle File identifier. pos The offset in the file. off The offset of the data being written in the buffer. size The size of the data being written.
If error occurs, function returns 0.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |