/
writeToBinaryFile
writeToBinaryFile
Description
Prints bytes to a specified file. The file can be overwritten or appended to.
Parameters
Return Type
Integer
Return value represents the number of bytes written to the file.
Example
Example 1
writeToBinaryFile("C:/myData.dat", dataBytes[], true)
Writes (appends) the data from the dataBytes variable to the file "myData.dat".
It is recommended that you use forward slashes ( / ) for file paths. As a general observation use the silEnv() function to create an absolute path.
See also
, multiple selections available,
Related content
fileWrite
fileWrite
More like this
printInFile
printInFile
Read with this
writeToBinaryFile
writeToBinaryFile
More like this
deleteFile
deleteFile
Read with this
writeToBinaryFile
writeToBinaryFile
More like this
fileWrite
fileWrite
More like this