Difference between revisions of "DEBUG"

From Macros Wiki
Jump to: navigation, search
Line 10: Line 10:
  
 
:DEBUG "deubug example2", a$, q1
 
:DEBUG "deubug example2", a$, q1
:For an example in a real macro see [[Calc_Geo_Extents]]
+
:For an example macro see [[Calc_Geo_Extents]]
 
[[Category:Internal_Macro_Functions]]
 
[[Category:Internal_Macro_Functions]]

Revision as of 16:08, 29 July 2010

Command

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


View the value of 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