Lua:setComment

From Cheat Engine
Revision as of 07:22, 21 February 2022 by Youcefham (talk | contribs) (Created page with "Category:Lua '''function''' setComment(''Address'',''Text'') ''':''' nil *Writes the given text to the given address. (%s shows the autoguess value). ===Function Par...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function setComment(Address,Text) : nil

  • Writes the given text to the given address. (%s shows the autoguess value).

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address of the target process to write to
Text String The text to write to the Address Comment


Examples

 setComment( getAddress( 'Tutorial-x86_64.exe+2C5B' ) , '%s var' )
 setComment( getAddress( 'Tutorial-x86_64.exe+2C6D' ) , 'ret=Return' )


Lua GetCommentMemView.png


See also

Related Functions