DEBUG: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
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=: | |description=:Show the current value of macro variables. | ||
|param1=<label>|param1_desc={{label text}} | |param1=<label>|param1_desc={{label text}} |
Revision as of 18:56, 13 January 2011
Command
- 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