Difference between revisions of "Lua:getComment"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "Category:Lua '''function''' getComment(''Address'') ''':''' string *Reads the comment text at the given address (only the user comments). ===Function Parameters=== {...")
(No difference)

Revision as of 07:09, 21 February 2022

function getComment(Address) : string

  • Reads the comment text at the given address (only the user comments).

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read


Examples

Lua GetCommentMemView.png


 print( getComment( getAddress('Tutorial-x86_64.exe+2C6D') ) );
 >> ret=Return
 print( getComment( getAddress('Tutorial-x86_64.exe+2C5B') ) );
 >> %s var

See also

Related Functions