Difference between revisions of "Lua:readFloat"
Jump to navigation
Jump to search
(Created page with ''''function''' readFloat(''Address'') Reads the 4 bytes at the given address and interprets them as a single precision floating point value ===Function Parameters=== {|width="8…') |
m (moved readFloat to Lua:readFloat) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''function''' readFloat(''Address'') | + | [[Category:Lua]] |
+ | '''function''' readFloat(''Address'') ''':''' float | ||
− | Reads | + | Reads a DWORD (4 bytes) at the given address and interprets them as a single precision floating point value. |
===Function Parameters=== | ===Function Parameters=== | ||
Line 10: | Line 11: | ||
|- | |- | ||
|Address | |Address | ||
− | | | + | |[[CEAddressString]] or Integer |
|The address to read | |The address to read | ||
|} | |} | ||
− | == | + | {{LuaSeeAlso}} |
− | + | ||
− | + | === Related Functions === | |
− | + | {{ReadWriteMemory}} | |
− | |||
− | |||
− |
Latest revision as of 00:02, 25 January 2018
function readFloat(Address) : float
Reads a DWORD (4 bytes) at the given address and interprets them as a single precision floating point value.
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address to read |
See also[edit]
Related Functions[edit]
- readBytes
- readSmallInteger
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeSmallInteger
- writeInteger
- writeQword
- writeFloat
- writeDouble
- writeString
- readBytesLocal
- readIntegerLocal
- readQwordLocal
- readPointerLocal
- readFloatLocal
- readDoubleLocal
- readStringLocal
- writeBytesLocal
- writeIntegerLocal
- writeQwordLocal
- writeFloatLocal
- writeDoubleLocal
- writeStringLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToString
- byteTableToWideString