Name
WriteByte -- write byte to file (V7.0)
Synopsis
WriteByte(id, b[, flags])
Function
This function writes a single byte to the file specified by id at the current file cursor position which you can modify by using the Seek() command. WriteByte() will advance the file cursor position by one byte.

The flags parameter may be set to one of the following flags:

#IO_UNSIGNED:
Write an unsigned byte to the file. This means that b must be between 0 and 255. This is the default.

#IO_SIGNED:
Write a signed byte to the file. This means that b must be between -128 and 127.

Inputs
id
file to write to
b
byte data to write to the file
flags
optional: additional flags (see above) (defaults to #IO_UNSIGNED) (V9.0)

Show TOC