Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : File Primitives : tint.write-file

Syntax

#(tint.write-file,%filename,%value)

%filename is the name of the file to be written. %value is the new contents of the file. If a file of the same name already exists, it will be overwritten.

Example

#(tint.write-file,c:\foo.bar,This is the contents)

#(tint.read-file,c:\foo.bar,#(tint.file-length,c:\foo.bar))
This is the contents