DEBUG: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[:Category:Debug|{{Up}}]] | [[:Category:Debug|{{Up}}]] | ||
{{Command|syntax=[[Image:debug.png|right|DEBUG]]DEBUG <caption>, <nowiki><var name></nowiki> (max 50 variables) | {{Command|syntax=[[Image:debug.png|right|DEBUG]]DEBUG [<caption>], <nowiki><var name></nowiki> (max 50 variables) | ||
|description=:Show the current value of macro variables. | |description=:Show the current value of macro variables. | ||
|param1=<caption>|param1_desc= | |param1=<caption>|param1_desc=Optional caption text. | ||
|param2=<nowiki><var name></nowiki>|param2_desc=Variable name | |param2=<nowiki><var name></nowiki>|param2_desc=Variable name | ||
}} | }} | ||
===Example=== | ===Example=== | ||
:DEBUG | :DEBUG r1, a1 | ||
:DEBUG " | :DEBUG "debug example", a$, q1 | ||
<br> | <br> | ||
:For an example macro see [[Calc_Geo_Extents]] | :For an example macro see [[Calc_Geo_Extents]] | ||
[[Category:Debug]] | [[Category:Debug]] |
Revision as of 18:58, 13 January 2011
Command
- Show the current value of macro variables.
Parameters
- Optional caption text.
- <var name>
- Variable name
Example
- DEBUG r1, a1
- DEBUG "debug example", a$, q1
- For an example macro see Calc_Geo_Extents