WriteInteger()
Syntax
Result = WriteInteger(#File, Number)Description
Write an integer number (4 bytes in 32-bit executable, 8 bytes in 64-bit executable) to a file.
Parameters
#File The file to write to. Number The value to write.
Return value
Returns nonzero if the operation was successful and zero if it failed.
Remarks
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 WriteInteger() only a integer variable is written, instead of a string.
See Also
ReadInteger(), CreateFile(), OpenFile()
Supported OS
All