Retrieves a 64-bit signed integer from the specified address.
Parameters
- nAddress
The memory address from which to read the value.
- nFormat (optional)
default = 1
Specifies the format of the return value.One of the following values. Format Description 1 Currency. 2 8 byte binary string. 3 String literal. 4 Double. Note
If you pass 4 the value might get truncated!
Return Value
The value read in the requested format.
Remarks
The currency value the function returns should only be used with the following functions:
Int64_Add, Int64_Sub, Int64_Mul, Int64_Div, Int64_Mod, Int642Str, WriteInt64, WritePInt64 and WriteRegistryKey.
The VFP currency datatype has an implied decimal point. When you convert a currency value returned from ReadInt64 or ReadPInt64 with MTON() the returned numeric value is not what you might expect, additionally every VFP function will raise error 1988 if the value is –9,223,372,036,854,775,808.
If you plan to store 64bit integers in a table use the Q(8) datatype instead of Y.
See Also
Reference
ReadBytes
ReadChar
ReadCharArray
ReadCString
ReadDouble
ReadFloat
ReadInt
ReadInt8
ReadLogical
ReadPChar
ReadPCString
ReadPDouble
ReadPFloat
ReadPInt
ReadPInt64
ReadPInt8
ReadPLogical
ReadPointer
ReadPPointer
ReadProcessMemoryEx
ReadPShort
ReadPUInt
ReadPUInt64
ReadPUInt8
ReadPUShort
ReadPWString
ReadShort
ReadUInt
ReadUInt64
ReadUInt8
ReadUShort
ReadWCharArray
ReadWString
WriteBytes
WriteChar
WriteCharArray
WriteCString
WriteDouble
WriteFloat
WriteGPCString
WriteInt
WriteInt64
WriteInt8
WriteLogical
WritePChar
WritePCString
WritePDouble
WritePFloat
WritePInt
WritePInt64
WritePInt8
WritePLogical
WritePointer
WritePPointer
WritePShort
WritePUInt
WritePUInt64
WritePUInt8
WritePUShort
WritePWChar
WritePWString
WriteShort
WriteUInt
WriteUInt64
WriteUInt8
WriteUShort
WriteWChar
WriteWCharArray
WriteWString