WriteInteger()
Syntax
Result = WriteInteger(#File, Number)Description
Write an integer number (8 bytes) to a file. In SpiderBasic 'integer' is not 64-bit but 53-bit type (Javascript standard). If a number written is greater than 2^53, it will be rounded.
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
The file must be opened using a write-capable function (i.e. not with ReadFile()).
See Also
ReadInteger(), CreateFile()
Supported OS
All