ReadInteger()

Syntax

Number.i = ReadInteger(#File)
Description
Read an integer (8 bytes) from a file. In SpiderBasic 'integer' is not 64-bit but 53-bit type (Javascript standard). If a number read is greater than 2^53, it will be rounded.

Parameters

#File The file to read from.

Return value

Returns the read value or zero if there was an error.

See Also

WriteInteger(), ReadFile()

Supported OS

All

<- ReadFloat() - File Index - ReadLong() ->