WriteInt
Usage:
WriteInt(Handle, Value)
Description:
The WriteInt command writes a value to a file as an integer (four bytes), at the current file position. The file position is then advanced by four bytes.
The Handle parameter is the file handle returned by ReadFile, WriteFile or OpenFile. Value is the number to write to the file, and should be between -2147483648 and 2147483647.
Example:
Function Main()
F = WriteFile("Test.txt")
WriteInt(F, 10000000)
CloseFile(F)
Return()
End Function
Comments (0)
You don't have permission to comment on this page.