file_bin_write_byte(binfile, byte);

Argument Description
binfile The ID of the file to write to.
byte The data to write.

Returns: real.


This function will write a byte of data to the file identified by the file ID at the current write position. You supply the file ID value, as returned by the function file_bin_open and the byte of data to write.

NOTE: These functions do not work when the target module is HTML5.


file_bin_write_byte(file, data);

This would write a byte to the selected file.