DEBUG

From Macros Wiki
Revision as of 10:46, 2 August 2010 by ConnerO (talk | contribs)
Jump to: navigation, search

Up

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


IF <value> <condition> <value> THEN
FOR <variable> = <start> TO <end> [STEP <value>]
NEXT <variable>
CONTINUE
GOTO <label>
CALL <macro name> [<arg 1>, <arg2>, <arg3> (max 10 arguments)]
ON_ERROR <label>
#INCLUDE <filename>