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=== {...")
 
 
Line 31: Line 31:
  
 
== Related Functions ==
 
== Related Functions ==
* [[setComment]]
+
*[[Lua:setComment|setComment]]

Latest revision as of 07:25, 21 February 2022

function getComment(Address) : string

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

Function Parameters[edit]

Parameter Type Description
Address CEAddressString or Integer The address to read


Examples[edit]

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[edit]

Related Functions[edit]