Difference between revisions of "Lua:readString"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' readString(''Address'', ''Maxlength'') Reads the bytes the given address and interprets them as a string ===Function Parameters=== {|width="85%" cellpadding="10%…')
 
Line 10: Line 10:
 
|-
 
|-
 
|Address
 
|Address
|String or Integer
+
|CEAddressString or Integer
 
|The address to read
 
|The address to read
 
|-
 
|-

Revision as of 15:16, 22 February 2012

function readString(Address, Maxlength)

Reads the bytes the given address and interprets them as a string

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read
Maxlength Integer The maximum number of characters to read. If the string does not have a 0-terminator this will be the length of the string returned

See also