Result = WriteLong(#File, Number)Description
Write a long number (4 bytes) to a file.
#File The file to write to. Number The value to write.
Returns nonzero if the operation was successful and zero if it failed.
Because of file buffering, this function may return successful even if there is not enough space left on the output device for the write operation. The file must be opened using a write-capable function (i.e. not with ReadFile()).
For an example see the CreateFile() function - with WriteLong() only a long variable is written, instead of a string.
ReadLong(), CreateFile(), OpenFile()