|
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > File > FILE: functions working on files > FILE_Save_Binary |
Description
Write a StringBuffer to a file replacing its content.
String buffer will be saved without any encoding
Syntax
n = FILE_Save_Binary(FileName, StringBuffer)
Returns
Number.
0 means no errors.
Parameters
Name |
Type |
Optional |
Meaning |
FileName |
String |
No |
Name of the file |
StringBuffer |
String |
No |
String to put into file |
Remarks
If FileName already exists, FileName will be deleted before writing StringBuffer
Restrictions
If FileName is a directory path, nothing will be saved.
See also
Examples