User Tools

Site Tools


crpl:docs:trace

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:trace [2013/01/14 14:07] – created virgilwcrpl:docs:trace [2018/05/01 19:38] (current) – fix code Grabz
Line 1: Line 1:
-TODO+<- [[crpl:crplreference|CRPL reference]] <- [[crpl:crplreference#debugging|Debugging]] 
 +=====  Trace  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +|String or other data| |''n1 -- ''
 + 
 + 
 +=== Description === 
 +Pops an item from the stack and adds it to the trace log.  
 +The item will be treated as a string. The trace log is limited to 512 entries and will automatically purge older entries first. 
 +=== Examples === 
 +<code prpl>ShowTraceLog 
 +ClearTraceLog 
 + 
 +Self CONST_AMMO GetUnitAttribute Trace 
 + 
 +# Warp Notation 
 + 
 +Trace(Self GetUnitAttribute(CONST_AMMO))</code>  
crpl/docs/trace.1358190451.txt.gz · Last modified: 2014/10/01 15:02 (external edit)