Difference between revisions of "DEBUG"
From Macros Wiki
Line 16: | Line 16: | ||
− | {{ | + | {{Language}} |
Revision as of 09:46, 2 August 2010
Command
- 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> |