WriteLong()

Syntax

Result = WriteLong(#File, Number)
Description
Write a long number (4 bytes) 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

The file must be opened using a write-capable function (i.e. not with ReadFile()).

See Also

ReadLong(), CreateFile()

Supported OS

All

<- WriteInteger() - File Index - WriteQuad() ->