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

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

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

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Related Functions