Difference between revisions of "DEBUG"

From Macros Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
{{Command|syntax=[[Image:debug.png|right|DEBUG]]DEBUG <label>, <nowiki><var name></nowiki> (max 50 variables)
 
{{Command|syntax=[[Image:debug.png|right|DEBUG]]DEBUG <label>, <nowiki><var name></nowiki> (max 50 variables)
|description=:View the value of variables.
+
|description=:Show the current value of macro variables.
  
 
|param1=<label>|param1_desc={{label text}}
 
|param1=<label>|param1_desc={{label text}}

Revision as of 13:56, 13 January 2011

Up

Command

DEBUG
DEBUG <label>, <var name> (max 50 variables)


Show the current value of macro variables.

Parameters

<label>
Text to be displayed.
<var name>
Set the value of a number variable

Example

DEBUG "deubug example", r1, a1
DEBUG "deubug example2", a$, q1
For an example macro see Calc_Geo_Extents